NSGlyphGenerator object performs the initial, nominal glyph generation phase in the layout process.
- macOS 10.10+
The nominal glyph generation pass essentially generates one glyph per character; the typesetter may later make substitutions in the glyph stream, for example, changing an acute accent glyph followed by an “e” glyph into a single acute-accented “é” glyph.
NSGlyphGenerator communicates via the
NSGlyphStorage protocol. An example of a class conforming to the protocol is