freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] kerning question


From: Werner LEMBERG
Subject: Re: [ft] kerning question
Date: Tue, 26 Jan 2010 17:17:24 +0100 (CET)

> I'm rendering text to OpenGL via FreeTypeGL (which calls FreeType)
> on Windows 7.
> 
> The font face is "Arial Unicode MS" (loaded from
> "C:\Windows\Fonts\ARIALUNI.TTF") and is sized to 9pts at 96dpi.
> 
> When comparing the rendering of this text using the Windows GDI APIs
> vs. the FreeType rendering I'm seeing a small difference.  The GDI
> rendering results in a slightly wider string.

I suspect that OpenGL only uses the kerning from the `kern' table,
while MS Windows uses the kerning from the `GPOS' table (Arial is an
OpenType font, AFAIK) which usually contains much more kern pairs and
probably even different values.


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]