Enables customizing the initial glyph generation process.
- iOS 7.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The layout manager doing the layout.
A pointer to the layout manager's glyph cache.
A pointer to a buffer containing glyph properties for the glyphs in the cache.
A pointer to the starting index for the characters in the text storage for which glyphs are generated.
A font to override the font attributes in the text storage for the specified character range.
The range of glyphs in the glyph cache to set.
The actual glyph range stored in this method. By returning
0, it can indicate for the layout manager to do the default processing.
This message is sent whenever the layout manager is about to store the initial glyph information via
set. To customize the initial glyph generation process, this method can invoke
set with modified glyph information.