get_glyph_h_kerning


Description:

[ Version ( since = "0.9.2" ) ]
public Position get_glyph_h_kerning (Codepoint left_glyph, Codepoint right_glyph)

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 FontFuncs function).</note>

Parameters:

left_glyph

The glyph ID of the left glyph in the glyph pair

right_glyph

The glyph ID of the right glyph in the glyph pair

font

Font to work upon

Returns:

The kerning adjustment value