http://bugzilla.novell.com/show_bug.cgi?id=510016
User ailin.nemui@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=510016#c2
Ailin Nemui changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Info Provider|ailin.nemui@gmail.com |
--- Comment #2 from Ailin Nemui 2009-06-09 08:26:18 MDT ---
I have not installed sazami fonts, these 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?
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").'
I suspect my system does not have the -founder-SongTi-*/-founder-MingTi-*
fonts, but I have all the chinese font packages installed.
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.
--
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.