Rules & Leaders
Tests several types of fo:leader
elements: space-filled, dot-filled, rule-filled, patterned.
2003-07-25
Style: , width: pt
Rules & Leaders
Rules
Rule length
If leader rules are properly implemented in your system, you will
see two parabolic curves:
The upper curve is red, and the lower one is blue. Both curves are
composed of bars 1 mm thick, whose length is varied to form
a parabolic profile. There are 41 bars in every set, and their length
varies from 1.00 inch to 5.00 inch, following a quadratic law.
Red bars are aligned to the left, and blue ones to the right.
There is also a black square 3 x 3 mm,
placed in the center of the whole image.
Rule style
The following blocks illustrate various styles and widths of rules
produced by an fo:leader
:
Dot-filled leaders
In the following paragraph, text will be interspersed with inlined dot-filled
leaders. For every inserted leader, its length.optimum
is equal to the number immediately preceding it; .minimum
is one half, and .maximum
is twice the value
of .optimum
.
points
Spacing leaders
In the following paragraph, text will be interspersed with inlined space
leaders. Leader lengths are the same as in the preceding test.
points
The following paragraph contains pattern-filled leaders with an empty pattern.
By the spec, they should be treated the same as space-filled, so the two blocks
above and below this text should appear identical:
points
Pattern-filled leaders
Given below are several examples of leaders filled with text patterns.
Text inside the leader is typed in red characters.
Leader filled with underscores, 72 pt long:
Leader filled with tildes, 72 pt long, pattern width is fixed to 12 pt:
Leader filled with a character sequence ABCD
, long enough
to expand to the end-of-line:
Same as above but with pattern width fixed to 1 in: