JDK-6551584 : Need fontconfig.properties for Ubuntu
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: OpenJDK6,7
  • Priority: P2
  • Status: Closed
  • Resolution: Won't Fix
  • OS: linux,linux_ubuntu
  • CPU: x86
  • Submitted: 2007-04-30
  • Updated: 2016-07-01
  • Resolved: 2009-08-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 Other
6u18Fixed OpenJDK6Unresolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b11)
Java HotSpot(TM) Server VM (build 1.7.0-ea-b11, mixed mode)


ADDITIONAL OS VERSION INFORMATION :
Linux helium 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux


EXTRA RELEVANT SYSTEM CONFIGURATION :
you need to Chinese/Korean/Japanese fonts installed on your system too, or fontconfig.properties will just point to non-existent font files.

A DESCRIPTION OF THE PROBLEM :
now Sun's so friendly with Ubuntu, it would be nice to have an Ubuntu fontconfig.properties by default. the Ubuntu packagers seem to be adding one to the sun-java6-jdk package, which is nice, but that doesn't help developers working on

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
"java -jar Font2DTest.jar" with a Java 7-ea build first on your path, and try to display the "Hangul Jamo" range (make sure you've actually installed the relevant fonts on your system first, or having the fallbacks won't help!).

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
assuming you've installed Korean ("System" > "Administration" > "Language Support"), you'd expect to see Korean glyphs.
ACTUAL -
you see those annoying little empty boxes :-(

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
manually copy in a fontconfig.properties for Ubuntu, or edit the default fontconfig.properties.

Comments
EVALUATION fontconfig.properties for Ubuntu won't be provided in JDK7 in favor of the auto-generation function.
07-08-2009

EVALUATION I guess the JDK6 package which is distributed by Ubuntu itself may be worth while to try for the submitter. http://www.sun.com/software/linux/developer.xml As far as I tested, Japanece characters were displayed as expected without changes in font.properties.
19-10-2007