Hi Teppitak.

On 21/04/2011 10:29, Theppitak Karoonboonyanan wrote:
> I don't know how to select the VM for Sweethome3d in this case.
> sun-java6-fonts depends on sun-java6-jre (without openjdk alternative
> dependency). So, it's forcefully installed.

BTW, you can use the JAVA_CMD environment variable.

>> These data bring me to think that the main problem is the Virtual
>> Machine, that is not able to use fonts without having defoma hints. I'll
>> ask on the debian-java@ mailing list.
> It sounds so.

I asked on debian-java about this problem and did some more testing. It
actually turned out that the problem doesn't arise from defoma hints,
rather from the presence of the Lucida font.


Given that I can reproduce the same behavior described in my last email
to that thread with the simple attached program, I consider this to be a
bug in OpenJDK. I'll forward this bug to the proper maintainer.

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.addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent e) {


Attachment: signature.asc
Description: OpenPGP digital signature

Pkg-grass-devel mailing list

Reply via email to