Instance Property


The default typesetter behavior.


var typesetterBehavior: NSLayoutManager.TypesetterBehavior { get set }


The typesetter behavior affects glyph spacing and line height.

See Also

Managing the Typesetter

var typesetter: NSTypesetter

The current typesetter.

enum NSLayoutManager.TypesetterBehavior

Constants that determine the layout manager's behavior during layout.

func defaultLineHeight(for: NSFont) -> CGFloat

Returns the default line height for a line of text drawn using a given font.

func defaultBaselineOffset(for: NSFont) -> CGFloat

Returns the default baseline offset that the layout manager's typesetter uses for the specified font.