fontGetGlyph

Fetches the glyph ID for a Unicode code point in the specified font, with an optional variation selector.

If variation_selector is 0, calls harfbuzz.global.fontGetNominalGlyph; otherwise calls harfbuzz.global.fontGetVariationGlyph.

Parameters

font#hb_font_t to work upon
unicodeThe Unicode code point to query
variationSelectorA variation-selector code point
glyphThe glyph ID retrieved

Returns

true if data found, false otherwise