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 harfbuzz.font.Font

#hb_font_t to work upon

unicode harfbuzz.types.Codepoint

The Unicode code point to query

variationSelector harfbuzz.types.Codepoint

A variation-selector code point

glyph harfbuzz.types.Codepoint

The glyph ID retrieved

Return Value

Type: harfbuzz.types.Bool

true if data found, false otherwise