[fedora-java] Fonts hinting

Mario Torre neugens at limasoftware.net
Fri Nov 26 15:20:08 UTC 2010


Il giorno ven, 26/11/2010 alle 09.50 -0500, Omair Majid ha scritto:
> On 11/26/2010 05:40 AM, Mario Torre wrote:
> > Is there anything changed in the way OpenJDK handles fonts in the latest
> > fedora?
> >
> > I update the system:
> >
> > java-1.6.0-openjdk-1.6.0.0-43.1.8.2.fc13.x86_64
> >
> > And now my nice antialiased fonts are gone. I do have freetype with the
> > patented hinting enabled (and the patent *is* expired), but it looks
> > like the setting is not picked up by OpenJDK.
> >
> 
> AFAIK the default freetype packages have subpixel rendering disabled. 
> This is different from the bytecode interpreter (which does hinting). 
> Can you please ensure that supixel rendering is enabled in freetyp? 
> (Note that most other applications work around it, so they wont be 
> affected if subpixel rendering is disabled in freetype). When I build 
> freetype with subpixel rendering enabled, it shows up fine with OpenJDK.
> 
> Cheers,
> Omair

Yep, indeed,

It was my fault, the update also updated freetype, but I resumed from
suspend, that means the freetype library used by the running the other
applications was not reloaded, but the first time I launched OpenJDK...
well...

I fixed this by recompiling freetype... Funny that Fedora still has the
subpixel rendering off by default.

Thanks for the hints :)

Cheers,
Mario
-- 
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

Proud GNU Classpath developer: http://www.classpath.org/
Read About us at: http://planet.classpath.org
OpenJDK: http://openjdk.java.net/projects/caciocavallo/

Please, support open standards:
http://endsoftpatents.org/



More information about the java-devel mailing list