United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6551584 Need fontconfig.properties for Ubuntu
JDK-6551584 : Need fontconfig.properties for Ubuntu

Details
Type:
Enhancement
Submit Date:
2007-04-30
Status:
Closed
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2009-08-07
Component:
client-libs
OS:
linux_ubuntu,linux
Sub-Component:
java.awt:i18n
CPU:
x86
Priority:
P2
Resolution:
Won't Fix
Affected Versions:
OpenJDK6,7
Fixed Versions:
7

Related Reports
Backport:
Backport:
Duplicate:
Relates:
Relates:
Relates:

Sub Tasks

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

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.
                                     
2007-10-19
EVALUATION

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



Hardware and Software, Engineered to Work Together