Re: [OpenJDK 2D-Dev] Font rendering issue

2010-03-23 Thread Phil Race
It could be the hinting that Mario referred to. There are some notes (not by me) that the T2K values produced in JDK 1.4 when hinting was available were more correct than previously - when there was no hinting. But Swing wanted values that looked right for some common cases and 1.0 was excessive.

Re: [OpenJDK 2D-Dev] Font rendering issue

2010-03-23 Thread Roman Kennke
Phil, is it possible that these rounding effects are different in T2K vs. FT? In this case, the rounding should probably be done in the font backends altogether. However, I doubt I fully understand what exactly is going on here. My understanding is that we need to round at least up to the next full

Re: [OpenJDK 2D-Dev] Font rendering issue

2010-03-23 Thread Phil Race
Mario, If you look around lines 567-573 you'll see a comment to the effect that it was decresed fom 0.99 to 0.95 because that higher value was causing problems. This was back in 2001 and all I can recall from then is that it took a long time to get the right formula .. See http://bugs.sun.com/vi

Re: [OpenJDK 2D-Dev] Font rendering issue

2010-03-23 Thread Mario Torre
Il giorno lun, 22/03/2010 alle 23.27 +0100, Mario Torre ha scritto: > I started tracking this because anything I write something with an > underscore in NetBeans I don't see the underscore, and that drives me > crazy (ok, it also affect JamaicaVM, but I fixed it because I type my > code in NetBean