in Lucid it happens too!! But can be hacked!

Ubuntu 10.04 LTS, i386 and amd64, openjdk-6-jre 6b18-1.8-0ubuntu1

the hack method is :
env _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on' java something

And there is an obvious bug about the fontconfig.properties file
that is, ttc and ttf file confusions:
after installing the zh_cn language support, we only get 
/usr/share/fonts/truetype/arphic/uming.ttf   #a very basic and default Chinese 
font
/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc    #a more beautiful and popular 
Chinese sans-serif font

but in fontconfig.properties there are some sentences with paths below:
/usr/share/fonts/truetype/arphic/uming.ttc
/usr/share/fonts/truetype/wqy/wqy-zenhei.ttf

and beware, the ttf-wqy-zenhei package is a suggested package when installing 
openjdk-6-jre but I can only find wqy-zenhei.ttc in the directory even I 
installed it.Same problem is found in the ttf-wqy-microhei package,too. I can't 
find the wqy-microhei.ttf but only wqy-microhei.ttc!!!
And maybe that's a bug for ttf-wqy-zenhei and ttf-wqy-microhei ?

But, even the ttf ttc mismatch is corrected in fontproperties, the
problem of wrong metric for Chinese font in OpenJDK applications still
happens.

-- 
wrong metric for Chinese font in OpenJDK applications
https://bugs.launchpad.net/bugs/472845
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to