[HarfBuzz] Using hb_font_get_glyph_h_kerning

Behdad Esfahbod behdad at behdad.org
Fri Jun 28 10:14:03 PDT 2013

On 13-06-28 04:53 AM, Johan Mattsson wrote:
> Hi
> I want to write a function that obtains all horizontal kerning pairs and their
> kerning value but I have not found any documentation or examples on how the
> basic functions in harfbuzz should be used.
> I have attached a file with an example that think it should work.
> What am I missing?'

If the font uses GPOS positioning instead of old TrueType kern table, you will
only get zeros from get_glyph_h_kerning.

> Johan


More information about the HarfBuzz mailing list