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

Hi.

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 <mascell...@poisson.phc.unipi.it>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascell...@jabber.org / giova...@elabor.homelinux.org
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.getContentPane().add(l);
		f.addWindowListener(new WindowAdapter() {
			@Override
			public void windowClosing(WindowEvent e) {
				System.exit(0);
			}
		});
		f.setVisible(true);
	}

}

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to