name(for:)
Returns the glyph name of the specified glyph in the specified font.
Declaration
func name(for glyph: CGGlyph) -> CFString?Parameters
- glyph:
The glyph whose name is desired.
Return Value
The name of the specified glyph, or nil if the glyph isn’t associated with the font object.