openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #05919
Bug#620385: josm: Cannot use fonts outside defoma
Hi Giovanni,
On Sat, Apr 23, 2011 at 4:29 AM, Giovanni Mascellani <gio@xxxxxxxxxx> wrote:
> 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.
Yes, I confirm that copying the Lucida TTFs from the sun-java6-jre
package to ~/.fonts, as you described in above thread, does make your
test program and Josm render Thai on OpenJDK VM again without
requiring sun-java6-fonts.
Since there is no any font hard-coding in your test program, so the
difference must be in the VMs. Probably, Swing hard-codes Lucida
font for Thai, but only Sun VM happens to ship it?
Regards,
--
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/
Follow ups