Instance Method
glyph(forCharacter:)glyphForCharacter:glyphForCharacter_
Returns the local or imported glyph represented by a Unicode scalar or temporary display character, or nil when no glyph matches.
Declaration
func glyph(forCharacter aChar: UTF32Char) -> GSGlyph?Declaration
- (GSGlyph *) glyphForCharacter:(UTF32Char) aChar;Declaration
glyphForCharacter_(aChar: UTF32Char) -> GSGlyphSee Also
Unicode & Characters
Returns the local or imported glyph associated with a Unicode scalar, or
nilwhen no glyph matches.Returns the local or imported glyph associated with a Unicode scalar, or
nilwhen no glyph matches.Returns the local or imported glyph associated with the first matching Unicode scalar, or
nilwhen none match.Returns a glyph from this font’s character cache associated with a Unicode scalar, or
nilwhen no glyph matches.Returns a glyph from this font’s character cache associated with the first matching Unicode scalar, or
nilwhen none match.Returns the primary Unicode scalar of an encoded glyph or a temporary display character for an unencoded glyph.
The lookup cache used to map Unicode strings and temporary display characters to glyphs.
Returns the cached local or imported glyph associated with a Unicode scalar, or
nilwhen no glyph matches.Returns the cached local or imported glyph represented by a Unicode scalar or temporary display character, or
nilwhen no glyph matches.Returns the cached local or imported glyph represented by a Unicode scalar or temporary display character, or
nilwhen no glyph matches.Prepares the character cache from the local and imported glyphs.
Converts display text containing slash-prefixed glyph names to a string of display characters.
See Also
Unicode & Characters
Returns the local or imported glyph associated with a Unicode code point, or
nilwhen no glyph matches.Returns the local or imported glyph associated with a Unicode code point, or
nilwhen no glyph matches.Returns the local or imported glyph associated with the first matching Unicode code point, or
nilwhen none match.Returns a glyph from this font’s character cache associated with a Unicode code point, or
nilwhen no glyph matches.Returns a glyph from this font’s character cache associated with the first matching Unicode code point, or
nilwhen none match.Returns the primary Unicode scalar of an encoded glyph or a temporary display character for an unencoded glyph.
The lookup cache used to map Unicode strings and temporary display characters to glyphs.
Returns the cached local or imported glyph associated with a Unicode code point, or
nilwhen no glyph matches.Returns the cached local or imported glyph represented by a Unicode scalar or temporary display character, or
nilwhen no glyph matches.Returns the cached local or imported glyph represented by a Unicode scalar or temporary display character, or
nilwhen no glyph matches.Prepares the character cache from the local and imported glyphs.
Converts display text containing slash-prefixed glyph names to a string of display characters.