Hello, I currently try getting kerning to work - but it doesn't work always.
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'm using Freetype 2.21 but have it also tested with 2.31. Any ideas what that is? Regards, Jürgen _______________________________________________ Freetype mailing list Freetype@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype