fontGetGlyphHKerning
fn
harfbuzz.types.Position fontGetGlyphHKerning(harfbuzz.font.Font font, harfbuzz.types.Codepoint leftGlyph, harfbuzz.types.Codepoint rightGlyph)Fetches the kerning-adjustment value for a glyph-pair in the specified font, for horizontal text segments.
<note>It handles legacy kerning only (as returned by the corresponding#hb_font_funcs_t function).</note>
Parameters
font | #hb_font_t to work upon |
leftGlyph | The glyph ID of the left glyph in the glyph pair |
rightGlyph | The glyph ID of the right glyph in the glyph pair |
Returns
The kerning adjustment value