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 <>
Pisa, Italy

Jabber: /
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

import javax.swing.JFrame;
import javax.swing.JLabel;

public class UnicodeTest {
	public static void main(String argv[]) {
		JFrame f = new JFrame("Unicode Test");
		f.setSize(200, 200);
		JLabel l = new JLabel("Test text: ถนนหน้าเมือง");
		f.addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent e) {


Attachment: signature.asc
Description: OpenPGP digital signature

Pkg-grass-devel mailing list

Reply via email to