Bug#620385: OpenJDK isn't able to show Thai characters without proprietary fonts

Giovanni Mascellani mascellani at poisson.phc.unipi.it
Fri Apr 22 21:56:11 UTC 2011

reassign 620385 openjdk-6-jre
found 620385 6b22-1.10.1~pre1-1
found 620385 6b18-1.8.7-3
affects 620385 + josm


Long story made short: the VM from openjdk-6 isn't able to show Thai
characters using Swing, unless some fonts (the Lucida family) from the
non-free package sun-java6-fonts are installed.

To show this bug please use the attached application and launch it with
OpenJDK VM, after having uninstalled sun-java6-fonts: the Thai
characters won't be shown (there will be squares instead of them). If
you install sun-java6-fonts or alternatively if you copy the *.ttf files
from the same package in some standard font directory (~/.fonts,
/usr/share/fonts, /usr/local/share/fonts) the issue is solved.

I found no configuration file that says to use Lucida for Thai
characters and have no idea about how could I convince the VM to use
some other font (I have some other Thai fonts on my systems:
ttf-thai-arundina and ttf-thai-tlwg, but the VM seems to be unable to
use them).

For the long story please read the bug log.

Thanks, Giovanni.
Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascellani at jabber.org / giovanni at elabor.homelinux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UnicodeTest.java
Type: text/x-java
Size: 531 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20110422/4f18de0a/attachment.java>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20110422/4f18de0a/attachment.pgp>

More information about the Pkg-grass-devel mailing list