freetype
[Top][All Lists]
Advanced

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

Re: [ft] missing kerning information for Microsoft Calibri font


From: Adam Twardoch (List)
Subject: Re: [ft] missing kerning information for Microsoft Calibri font
Date: Sun, 03 Oct 2010 20:47:02 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4

 On 10-10-03 20:33, Christopher Lux wrote:
> Hi,
> using the latest freetype 2.4.2 version i always get 0 back from
> FT_Get_Kerning using the Microsoft Calibri font (Windows 7 version).
> Other fonts give me correct kerning offsets.
FT_Get_Kerning only has access to the old "kern" TrueType table, which
Calibri does not include. Kerning in Calibri is realized only using the
modern "kern" feature implemented in the "GPOS" OpenType table. To
access that table, you should use an OpenType Layout engine such as
HarfBuzz, Pango, ICU Layout, Uniscribe, Bitstream Panorama or Monotype
WorldType, before you use FreeType to perform the glyph imaging.

This is a good idea anyway. FreeType is useful to perform glyph imaging,
but its text layout abilities are very limited.

Best,
Adam




reply via email to

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