fontGetGlyphHAdvance

fnharfbuzz.types.Position fontGetGlyphHAdvance(harfbuzz.font.Font font, harfbuzz.types.Codepoint glyph) nothrow

Fetches the advance for a glyph ID in the specified font, for horizontal text segments.

Parameters

font#hb_font_t to work upon
glyphThe glyph ID to query

Returns

The advance of glyph within font