http://bugzilla.novell.com/show_bug.cgi?id=510016
User mvyskocil@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=510016#c3
Michal Vyskocil
I have not installed sazami fonts, there are japanese fonts.
I installed:
rpm -q -f /usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/lib/fontconfig.SuSE.properties java-1_6_0-sun-1.6.0.u13-0.1.1
the chinese fonts it tries to use are apparently: grep fonts.chinese /usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/lib/fontconfig.SuSE.properties allfonts.chinese-gb18030=-founder-SongTi-medium-r-normal--*-%d-*-*-*-*-gb18030-0 allfonts.chinese-gbk=-founder-SongTi-medium-r-normal--*-%d-*-*-*-*-gbk-0 allfonts.chinese-gb2312=-founder-SongTi-medium-r-normal--*-%d-*-*-*-*-gb2312.1980-0 allfonts.chinese-big5=-founder-MingTiB-medium-r-normal--*-%d-*-*-*-*-big5-0 allfonts.chinese-iso10646=-founder-SongTi-medium-r-normal--*-%d-*-*-*-*-iso10646-1
I'm not sure if I'm missing any font pack, but if I were, that should be handled by dependencies?
Well, Chinese fonts cannot be Requires of java, because majority of users don't need them. But I suppose that there's something like if this locale, install this package. I'll try to investigate it.
Your command does not output anything useful: strace -f -s 4096 -etrace=open netbeans 2>&1 | grep ttf ~ [pid 12968] open("/usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/lib/fonts/LucidaSansRegular.ttf", O_RDONLY|O_LARGEFILE) = 48 [pid 12968] open("/usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/lib/fonts/LucidaTypewriterRegular.ttf", O_RDONLY|O_LARGEFILE) = 49 [pid 12968] open("/usr/share/fonts/truetype/uming.ttf", O_RDONLY|O_LARGEFILE) = 50 [pid 12968] open("/usr/share/fonts/truetype/uming.ttf", O_RDONLY) = 54
However, I just copied the fontconfig.SuSE.properties from /usr/lib/jvm/java-1.5.0-sun-1.5.0/jre/lib/fontconfig.SuSE.properties with these settings: allfonts.chinese-gb18030=-*-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-*-*-gb18030-0 allfonts.chinese-gbk=-*-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-*-*-gbk-0 allfonts.chinese-gb2312=-*-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-*-*-gb2312.1980-0 allfonts.chinese-big5=-*-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-*-*-big5-0 allfonts.chinese-iso10646=-*-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-*-*-iso10646-1
and that fixes the problem...
the 1.5.0 fontconfig is 'generated by /usr/sbin/fonts-config (called by "SuSEconfig --module fonts").'
It seems that this script doesn't have a support for Java 1.6. But as we try to avoid SUSEConfig, it would be better to include this configuration into Sun Java package. So I'll rather merge the 1.5.0 and 1.6.0 fontconfig. As there's planned update of Sun Java 1.6.0, this will be released together.
I suspect my system does not have the -founder-SongTi-*/-founder-MingTi-* fonts, but I have all the chinese font packages installed.
Yes, the Chinse fonts are in ttf-arphic-* packages - I'm I right?
Using japanese fonts is not recommended as their characters differ in appearance from the chinese ones, and do not cover the whole chinese character range.
Yes, that's true, sorry for that. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.