Bug#620385: josm: Cannot use fonts outside defoma
gio at debian.org
Sun Apr 17 17:30:45 UTC 2011
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
* 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
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.
Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Jabber: g.mascellani at jabber.org / giovanni at elabor.homelinux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 294 bytes
Desc: OpenPGP digital signature
More information about the Pkg-grass-devel