Returns the range of glyphs that are generated from the characters in the given character range.
- iOS 7.0+
- macOS 10.0+
- tvOS 9.0+
The character range for which to return the generated glyph range.
NULL, on output, points to the actual range of characters that fully define the glyph range returned. This range may be identical to or slightly larger than the requested character range. For example, if the text storage contains the characters "
O" and "
¨“, and the glyph store contains the single precomposed glyph "¨
Ö”, and if
charencloses only the first or second character, then
actualis set to enclose both characters.
The range of glyphs generated by
If the length of
0, the resulting glyph range is a zero-length range just after the glyph(s) corresponding to the preceding character, and
actual will also be zero-length. If
char extends beyond the text length, the method truncates the result to the number of glyphs in the text.
If noncontiguous layout is not enabled, this method forces the generation of glyphs for all characters up to and including the end of the specified range.