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 _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
