Back to API Reference
Class
FitStep
abstract
One budget of the auto-size fit ladder: an adjustment the component spends, in list order, before reducing the font size. Each step maps a fraction of its configured budget onto the shared FitBudgets the layout core consumes.
Derived Types(3)
Types that inherit from FitStep.
CCC
GlyphScaleFitStep
Compresses glyphs horizontally, up to a limit, before the font size shrinks — the hz / InDesign glyph-scaling lever. Quads and advances narrow together, so the text keeps its height while gaining columns.
LineHeightFitStep
Compresses line height, down to a limit, before the font size shrinks. Line boxes keep their glyphs; only the vertical advance between lines contracts.
TrackingFitStep
Tightens letter spacing, up to a limit, before the font size shrinks. The reduction applies uniformly to every non-zero glyph advance.
