Hi Theppitak. On 07/04/2011 11:23, Theppitak Karoonboonyanan wrote: > On the other hand, sweethome3d, another Java application, can use the > fonts without defoma requirement. So, I tend to think it's josm-specific > problem rather than Java runtime in general.
Uhm, things here are a little different. Particularly, you should take care of whether you're using OpenJDK or Sun VM to execute the Java program. I'll try to summarize them here: WITH sun-java6-fonts INSTALLED: * Josm appears to show correctly Thai characters with both OpenJDK and Sun VM. * Sweethome3d has the same behavior with both VMs, but this is a bit strange: the Thai text is displayed correctly in the dialog box where I'm pasting it, but it's not rendered correctly in the main view (alla characters are square); I believe the difference is due to the use of two different renderers: Swing in the dialog box and OpenGL in the main view. WITHOUT sun-java6-fonts INSTALLED: * Josm works with Sun VM, but doesn't with OpenJDK. :-( * Sweethome3d doesn't work with OpenJDK and partly works (as described before) with Sun VM. Probably the fact that you saw it working depended onthe fact that you used Sun VM. Can you confirm this observations? 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. 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
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