fontGetGlyphShape

fnvoid fontGetGlyphShape(harfbuzz.font.Font font, harfbuzz.types.Codepoint glyph, harfbuzz.draw_funcs.DrawFuncs dfuncs, void * drawData = null)

Fetches the glyph shape that corresponds to a glyph in the specified font. The shape is returned by way of calls to the callbacks of the dfuncs objects, with draw_data passed to them.

Parameters

font#hb_font_t to work upon
glyphThe glyph ID
dfuncs#hb_draw_funcs_t to draw to
drawDataUser data to pass to draw callbacks

Deprecated

Use [harfbuzz.global.fontDrawGlyph] instead