Returns the named encoded glyph, or –1 if the receiver contains no such glyph.
- macOS 10.0–10.13Deprecated
The name of the glyph.
The named encoded glyph.
Returns –1 if the glyph named
glyph isn’t encoded.
Glyph names in fonts do not always accurately identify the glyph. The layout manager, an instance of
NSLayout, finds the correspondence between characters and glyphs. See Text Layout Programming Guide and
NSLayout for more information.