Returns the line spacing in effect following the specified glyph.
- macOS 10.4+
The index of the glyph in question.
The proposed line fragment rectangle.
the line spacing in effect following the glyph at
NSATSTypesetter calls this method to determine the number of points of space to include below the descenders in the used rectangle for the proposed line fragment rectangle
Line spacing, also called leading, is an attribute of
NSParagraph, which you can set on an
NSMutable object. A font typically includes a default minimum line spacing metric used if none is set in the paragraph style.
If the typesetter behavior specified in the layout manager is
NSTypesetter, the text system uses the original, private typesetter
NSSimple, which adds the line spacing above the ascender. Similarly,
NSATSTypesetter adds the line spacing above the ascender if the value is negative.