get_glyph


Description:

[ Version ( since = "0.9.2" ) ]
public Bool get_glyph (Codepoint unicode, Codepoint variation_selector, out Codepoint glyph)

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

If variation_selector is 0, calls get_nominal_glyph; otherwise calls get_variation_glyph.

Parameters:

unicode

The Unicode code point to query

variation_selector

A variation-selector code point

glyph

The glyph ID retrieved

font

Font to work upon

Returns:

`true` if data found, `false` otherwise