glyphForIndex

abstract fun glyphForIndex(glyphIndex: Int): Glyph(source)

Retrieves the glyph corresponding to the specified glyph index.

Note: Glyph indices are face-specific and may differ between fonts, even for the same character. They represent the internal indexing scheme used by the particular font face and should not be assumed to be portable across different font files.

Return

the Glyph object associated with the given glyph index.

Parameters

glyphIndex

the index of the glyph to retrieve.