Returns the container in which the given glyph is laid out and (optionally) by reference the whole range of glyphs that are in that container.
- iOS 7.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
Index of a glyph in the returned container.
NULL, on output, points to the whole range of glyphs that are in the returned container.
The text container in which the glyph at
glyph is laid out.
This method causes glyph generation and layout for the line fragment containing the specified glyph, or if noncontiguous layout is not enabled, up to and including that line fragment. If noncontiguous layout is not enabled and
effective is not
NULL, this method additionally causes glyph generation and layout for the entire text container containing the specified glyph.
Overriding this method is not recommended. Any changes to the returned glyph range should be done at the typesetter level.