Re: [OpenJDK 2D-Dev] Fonts rendering in openjdk

2010-05-17 Thread Phil Race
Expanding a little on Roman's comments : freetype is a font scaler or rasteriser. eg It takes a TrueType font and returns to its requester a bitmap or greymap image, or a path describing the glyph shape. Its role does not extend to rendering (ie putting the results of rasterisation on a surfac

Re: [OpenJDK 2D-Dev] Fonts rendering in openjdk

2010-05-17 Thread Phil Race
On 5/17/2010 5:44 AM, Aekold Helbrass wrote: Hi again! Thanx for you fast and informative responses! But now I am a bit confused. Roman tells that Freetype does the rendering, but there is significant difference between Qt apps and Java apps. See screenthos in attachments. I think you mis

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

2010-05-17 Thread Mario Torre
Il giorno dom, 09/05/2010 alle 14.17 +0200, Mario Torre ha scritto: > Il giorno dom, 09/05/2010 alle 12.14 +0200, Mario Torre ha scritto: > > > ly = (jfloat) ROUND(FT26Dot6ToFloat( > > scalerInfo->face->size->metrics.height + > > bmodifier) + ay - dy); > > > > And her

Re: [OpenJDK 2D-Dev] Fonts rendering in openjdk

2010-05-17 Thread Aekold Helbrass
Phil, thanx for your replies. I'll start digging into freetype. Uploaded screenshots to picasa if you're interested: http://picasaweb.google.com/Helbrass/Screenshots?feat=directlink On 5/17/10, Phil Race wrote: > On 5/17/2010 5:44 AM, Aekold Helbrass wrote: >> Hi again! >> >> Thanx for you fast

Re: [OpenJDK 2D-Dev] Fonts rendering in openjdk

2010-05-17 Thread Aekold Helbrass
Hi again! Thanx for you fast and informative responses! But now I am a bit confused. Roman tells that Freetype does the rendering, but there is significant difference between Qt apps and Java apps. See screenthos in attachments. I found native code that works with freetype and changed glyph load