fontGlyphFromString

Fetches the glyph ID from font that matches the specified string. Strings of the format gidDDD or uniUUUU are parsed automatically.

<note>Note: len == -1 means the string is null-terminated.</note>

Parameters

font harfbuzz.font.Font

#hb_font_t to work upon

s ubyte[]

string to query

glyph harfbuzz.types.Codepoint

The glyph ID corresponding to the string requested

Return Value

Type: harfbuzz.types.Bool

true if data found, false otherwise