An object that performs the initial, nominal glyph generation phase in the layout process.


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 that conforms to the protocol is NSLayoutManager.


Obtaining a glyph generator

class var shared: NSGlyphGenerator

Returns a shared instance of NSGlyphGenerator.


Inherits From

Conforms To

See Also


typealias NSGlyph

The type used to specify glyphs.

protocol NSGlyphStorage

A set of methods that a glyph storage object must implement to interact properly with NSGlyphGenerator.

class NSGlyphInfo

A glyph attribute in an attributed string.

Glyph Attributes

Attributes that are used only inside the glyph generation machinery, but must also be shared between components.