> I check if my TTF file has kerning information using FT_HAS_KERNING,
> and this returns true.  I then use: FT_Get_Kerning(face, prev, next,
> FT_KERNING_DEFAULT, &delta); to determine the kerning value, but
> delta.x returns 0.  How can I debug why the kerning value is 0 even
> though FT_HAS_KERNING returns true?

Don't assume that there is a kerning value for all glyph pairs!  Use a
program like `ttx' (sourceforge.net/projects/fonttools/) to get a dump
of a TrueType font.  Then check whether there is a kerning value
between the two particular glyphs.


    Werner

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

Reply via email to