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. http://lists.debian.org/debian-java/2011/04/msg00052.html 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. -- Giovanni Mascellani <[email protected]> Pisa, Italy Web: http://poisson.phc.unipi.it/~mascellani Jabber: [email protected] / [email protected]
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);
}
}
signature.asc
Description: OpenPGP digital signature

