glyphForCodePoint method

int glyphForCodePoint(
  1. int codePoint
)

The glyph for Unicode codePoint, or 0 (.notdef).

Implementation

int glyphForCodePoint(int codePoint) => _cmap[codePoint] ?? 0;