fontGetGlyphKerningForDirection

fnvoid fontGetGlyphKerningForDirection(harfbuzz.font.Font font, harfbuzz.types.Codepoint firstGlyph, harfbuzz.types.Codepoint secondGlyph, harfbuzz.types.Direction direction, out harfbuzz.types.Position x, out harfbuzz.types.Position y)

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#hb_font_t to work upon
firstGlyphThe glyph ID of the first glyph in the glyph pair to query
secondGlyphThe glyph ID of the second glyph in the glyph pair to query
directionThe direction of the text segment
xThe horizontal kerning-adjustment value retrieved
yThe vertical kerning-adjustment value retrieved