fontGetGlyphKerningForDirection

Fetches the kerning-adjustment value for a glyph-pair in the specified font.

Calls the appropriate direction-specific variant (horizontal or vertical) depending on the value of direction.

Parameters

font harfbuzz.font.Font

#hb_font_t to work upon

firstGlyph harfbuzz.types.Codepoint

The glyph ID of the first glyph in the glyph pair to query

secondGlyph harfbuzz.types.Codepoint

The glyph ID of the second glyph in the glyph pair to query

direction harfbuzz.types.Direction

The direction of the text segment

x harfbuzz.types.Position

The horizontal kerning-adjustment value retrieved

y harfbuzz.types.Position

The vertical kerning-adjustment value retrieved