closing the report, no feedback
** Changed in: openjdk-6 (Ubuntu)
Status: Incomplete => Invalid
--
fontconfig.properties cannot handle TTC
https://bugs.launchpad.net/bugs/214653
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in “openjdk-6” package in Ubuntu: Invalid
Bug description:
It appears that different font faces of a Truetype Collection (TTC) cannot be
used in fontconfig.properties. Although X.org has separate XLFD entries for the
different faces, Java still always selects the first fontface of the TTC.
How to test:
1. install ttf-arphic-uming (> 0.2.0)
2. add the following lines to fontconfig.properties:
allfonts.chinese-cn-arphic=-arphic-ar pl uming
cn-light-r-normal--*-*-*-*-c-*-iso10646-1
allfonts.chinese-hk-arphic=-arphic-ar pl uming
hk-light-r-normal--*-*-*-*-c-*-iso10646-1
allfonts.chinese-tw-arphic=-arphic-ar pl uming
tw-light-r-normal--*-*-*-*-c-*-iso10646-1
All of these have a fontpath of /usr/share/fons/truetype/arphic/uming.ttc
Make these fonts to be preferred:
ex.:
sequence.allfonts.UTF-8=latin1,chinese-hk-arphic
Try each of the three defined faces separately.
The following fontfaces are available in this ttc:
0: AR PL UMing CN
1: AR PL UMing HK
2: AR PL UMing TW
3: AR PL UMing TW MBE
xlsfonts | grep 'ar pl uming' lists the same XLFDs as above.
In a Java application display the following Unicode codepoints: U+4EE4 令 U+9AA8
骨
The should display different for each font face like shown in the attachment.
_______________________________________________
Mailing list: https://launchpad.net/~openjdk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openjdk
More help : https://help.launchpad.net/ListHelp