Text Block Attributes - Line Stacking Strategy
Page
© RenderX
2000
XSL Formatting Objects Test Suite
Text Block Attributes - Line Stacking Strategy
Line Stacking Strategies: line-height
This text is formatted using line-height stacking strategy.
The font size is 12 points, and the line height is 1.2; this should yield approx.
15 pt line spacing. Insertions of big font
should result in extra inter-line space in order to account for higher content.
Line Stacking Strategies: font-height
This text is formatted using a font-height line stacking strategy.
The font size is 12 points, and the line height is 1.2. Unlike in
the above example, insertions of big font should not interrupt the steady
flow of the lines in the text: the line separation should always
remain the same (14.4 points).
Line Stacking Strategies: max-height
I.
This text is formatted using a max-height line stacking strategy (a default strategy).
The font size is still 12 points and the line height is 1.2, but the
effective line height is determined by the tallest ascenders/deepest
descenders for all glyphs present in the line. That's why we expect
that the inclusion of big
font will result in extra space around the corresponding line.
The line spacing between the 12-point lines should resemble that of
the first example above. The presence of [superscripts] or [subscripts] shall have no impact on the
separation between lines: this behavior is specified by the property
line-height-shift-adjustment="disregard-shifts".
II.
This text is formatted similar to the text before - using
a max-height line stacking strategy.The font size
is still 12 points and the line height is 1.2, but the effective
line height is determined by the tallest ascenders/deepest
descenders for all glyphs present in the line. That's why
we expect that the inclusion of big font will result in extra space around
the corresponding line. The line spacing between the 12-point
lines should resemble that of the first example above. Unlike in the
previous example, [superscripts] and
[subscripts]
do influence the separation between lines: this behavior is specified by
the property line-height-shift-adjustment="consider-shifts".