Hi, unfortunately I got no replies on my previous posts. Seeing Johannes' post gets some replies and even a bug was discovered I've new hopes regarding my issue and try it again.
Jürgen Herz wrote: > It's weird, the first call to FT_Get_Kerning() always fills in the right > value for a kerning pair, regardless of any flag. > > After a call to FT_Load_Glyph() later calls to FT_Get_Kerning() only > give the right value if it has FT_KERNING_UNFITTED or > FT_KERNING_UNSCALED set. Or when called with FT_KERNING_DEFAULT if > FT_Load_Glyph() has FT_LOAD_NO_HINTING or FT_LOAD_NO_SCALE (which > includes FT_LOAD_NO_HINTING) set. > > But is FT_KERNING_DEFAULT set in FT_Get_Kerning() and FT_Load_Glyph() > has either FT_LOAD_DEFAULT, FT_LOAD_RENDER or FT_LOAD_NO_BITMAP set, > kerning infos are always 0. I've to add that this only applies to TrueType fonts, Type1 fonts seem not to have this issue. Regards, Jürgen _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
