> I know that you can use FT_Get_Kerning() if you want to retrieve the
> kerning for a specific pair of glyphs but what if I just want to
> loop over all of the available kerning pairs and get the
> information?

Assuming that you are using TrueType fonts, the easiest way is to
parse the `kern' table manually.  Note, however, that modern OpenType
fonts no longer have a `kern' table.  Instead, kerns are stored in the
GPOS table, allowing two-dimensional kerning, context sensitive
kerning, and much more.  For the latter, the definition of a `kerning
pair' no longer exists.


    Werner

_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to