Thank you so much! I followed your recommendations and
http://coolbox.seseit.com/~rob/fop.0.20.5rc2.using-index.3.html looks
good to me with 0.20.5rc2

-----Original Message-----
From: J.Pietschmann [mailto:[EMAIL PROTECTED] 
Sent: 09 March 2003 11:29
To: [EMAIL PROTECTED]
Subject: Re: fo:leader weird output (again) ;o)


Rob Staveley (Tom) wrote:
> In the same vein... I'm trying to put together a catalogue index,
which
> is dependent on <fo:leader>. I'm also getting a ragged right-hand
margin
> from 0.20.5rc2 (see to GET from
> http://coolbox.seseit.com/~rob/fop.0.20.5rc2.html), but when I used
the
> last of yesterday's snapshot from the CVS repository
> (xml-fop_20030309052748.tar.gz) the output looks worse rather than
> better (sorry I've not got a link for this).

The problem is, the lines are correctly aligned during layout, in the
PDF renderer the "(912)" strings have exactly the same x-position and
area width. I can only guess something weird happens with the space
calculation between the leader and the word on the line end.
Also , the space at the block end is occasionally a problem.

As a workaround:
- Use leader-alignment="reference-area". This guarantees the leaders
end at the same x-position if the followig word has the same length
as on the line before. It also looks better.
- Write your XSLT so that no extra space occurs at the end of the line,
i.e.
  ...080)</fo:inline></fo:block>
instead of
    ...080)</fo:inline>
  </fo:block>

This looks already much better.

J.Pietschmann




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to