On Sun, Oct 3, 2010 at 8:47 PM, Adam Twardoch (List) <[email protected]> wrote: >> 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.
Are there any tutorials on the Web how to use HarfBuzz in corporation with FreeType for the font layout? I am using FreeType to raste fonts i render using OpenGL. Thanks and Regards -chris _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
