cgGlyph(at:isValidIndex:)
Returns the glyph at the specified index along with information about whether the glyph index is valid.
Declaration
func cgGlyph(at glyphIndex: Int, isValidIndex: UnsafeMutablePointer<ObjCBool>?) -> CGGlyphParameters
Return Value
The glyph at the specified index or kCGFontIndexInvalid if the index is out of range.
Discussion
If noncontiguous layout is disabled, calling this method generates all glyphs up to and including the one at glyphIndex.