getGlyphInfo function
Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found.
Implementation
GlyphInfo getGlyphInfo(Font font, int codepoint) {
return GlyphInfo.fromRef(library.GetGlyphInfo(font.ref, codepoint));
}