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? I'm trying to transfer all the
data in a FreeType FT_Face into another object in a 3rd
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
How do I parse the 'kern' table? I have looked through freetype.h
and I do not see any functions that provide access to this table.
You have to load it with FT_Load_Sfnt_Table, then write code to parse
it. See the OpenType specification.
http://www.microsoft.com/typography/otspec/
Several months ago I noticed that the output of Freetype was worse for my
application. I've returned to working on that part of my application and now I
have something concrete. It seems the bytecode hinter is defective, and the
autohinter is working. Check out this image: