NSATSTypesetter is a concrete subclass of
NSTypesetter that places glyphs during the text layout process. The typesetter creates line fragment rectangles, positions glyphs within the line fragments, determines line breaks by word wrapping and hyphenation, and handles tab positioning.
- macOS 10.3+
NSATSTypesetter encapsulates the advanced typesetting capabilities of Core Text.
NSATSTypesetter provides enhanced line and character spacing accuracy and supports more languages, including bidirectional languages, than the original, built-in typesetter class
NSSimple (which is deprecated in macOS 10.4 and later).
NSATSTypesetter introduced a set of interfaces in OS X version 10.3 that facilitated subclassing and made it possible to substitute a custom layout engine into the Cocoa text system. In OS X version 10.4, those interfaces moved to
NSTypesetter, which you can subclass to the same effect. See the
NSTypesetter reference documentation for relevant subclassing notes.