GetGlyphIndex method

int GetGlyphIndex(
  1. FontC font,
  2. int codepoint
)

Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found

Implementation

int GetGlyphIndex(FontC font, int codepoint)
  => _GetGlyphIndex(font, codepoint);