xsl-list
[Top] [All Lists]

Re: [xsl] [XSL-FO] right alignment after leader dots (multiple lines)

2021-08-17 10:35:50
On 17/08/2021 16:07, Tony Graham tgraham(_at_)antenna(_dot_)co(_dot_)jp wrote:
On 17/08/2021 07:49, Geert Bormans geert(_at_)gbormans(_dot_)telenet(_dot_)be 
wrote:
...
The screenshot is the FOP rendering. AH Formatter does what I
expected

Actually, I don't see the 1mm leader with AH Formatter.

https://www.w3.org/TR/xsl11/#fo_leader includes:

   The inline-area generated by the fo:leader has a dimension in
   the inline-progression-direction which shall be at least the
   leader-length.minimum and at most the leader-length.maximum.

https://www.w3.org/TR/xsl11/#leader-length includes:

   This property constrains the length of the leader to be between
   the minimum and maximum lengths.

The initial value of leader-length.minimum is 0pt.  You did not override
that, so AH Formatter was allowed to use a 0pt leader (which possibly
happened because the other leader wants to be 100%).  If you add
'leader-length.minimum="1mm"', then the leader will be 1mm long.

Regards,


Tony Graham.
--
Senior Architect
XML Division
Antenna House, Inc.
----
Skerries, Ireland
tgraham(_at_)antenna(_dot_)co(_dot_)jp
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>