Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6551584
Votes 1
Synopsis Need fontconfig.properties for Ubuntu
Category java:classes_fontprop
Reported Against b05
Release Fixed , 6u18(b02) (Bug ID:2178357)
State 11-Closed, Will Not Fix, request for enhancement
Priority: 2-High
Related Bugs 6690600 , 6857465
Submit Date 30-APR-2007
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.
Posted Date : 2007-04-30 10:20:32.0
Work Around
N/A
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.
Posted Date : 2007-10-19 10:04:17.0

fontconfig.properties for Ubuntu won't be provided in JDK7 in favor of the auto-generation function.
Posted Date : 2009-08-07 05:23:08.0
Comments
  
  Include a link with my name & email   

Submitted On 07-NOV-2009
The font..properties file used by Ubuntu is part of the IcedTea project: http://icedtea.classpath.org/wiki/Main_Page



PLEASE NOTE: JDK6 is formerly known as Project Mustang