Enumeration

NSTypesetterBehavior

These constants define the behavior of NSLayoutManager and NSTypesetter when laying out lines. They are used by typesetterBehavior to control the compatibility level of the typesetter.

Declaration

typedef enum NSTypesetterBehavior : NSInteger {
    ...
} NSTypesetterBehavior;

Topics

Constants

NSTypesetterOriginalBehavior

The original typesetter behavior, as shipped with macOS 10.1 and earlier.

NSTypesetterBehavior_10_2_WithCompatibility

Typesetting same as NSTypesetterBehavior_10_2 but using line widths and height metric calculations that are the same as with NSTypesetterOriginalBehavior.

NSTypesetterBehavior_10_2

The typesetter behavior introduced in macOS 10.2. This typesetter behavior provides enhanced line and character spacing accuracy and supports more languages than the original typesetter behavior.

NSTypesetterBehavior_10_3

The typesetter behavior introduced in macOS 10.3.

NSTypesetterBehavior_10_4

The typesetter behavior introduced in macOS version 10.4.