OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Solution: Page numbers not aligned in TOC


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dne 9.4.2015 v 13:44 Kallauch, Benjamin (EEIN) napsal(a):
> Dear group!
> 
> I noticed a fuzzy looking TOC some time ago with my FO-results
> from FOP 1.1 and DocBook-XSL 1.78.1. The page numbers seemed  to
> be "misaligned" slightly. They ought to be aligned on the right
> side, but they were not.
> 
> The reason for that lies in the "toc.line" named template in 
> fo/autotoc.xsl. Between the dotted line there is a leading and 
> trailing space: <xsl:text> </xsl:text>. At least this causes FOP 
> (maybe in combination with only some font types and sizes) to
> render misaligned page numbers.

It's a bug in FOP. I've reported it some time ago and made a patch for
SVN version of FOP. You can find the specific conditions which trigger
the bug in my bugreport:
https://issues.apache.org/jira/browse/FOP-2438

Regards,
Martin Doucha
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJVJqVMAAoJEETC23Hm5VDd4swH/1RxBRTUKTJo/K7iimHxyYzH
zKTwuUE7LWQyTonB2BZBDdJJpd135pKO6ggZ9kmvl8opRrh6rRvWoBfNTgaMxfHe
VRFDk0m67zP6AD/jx2TUht6ZfWOK8wCScWPYryFoWG0ppaOJOgqjqPujS/jMRMWO
2QmaDuuKhU0NZIYlM1poYJ8f/rABWyMkRjKY5oUpvjXhekKnkUXpbE+r2wGFHebh
Pf/EpCF93JDlt4MOvonoSzzrz4rve0pjK7NJMkG7l+xXXY1l0dah+VOby403meFW
J7jWmZ3Lt0w+SQBHrRe9yzeBuYl0N378q8hIIglEZYECjucYGrJZy+dd7rGAhhU=
=9cd+
-----END PGP SIGNATURE-----


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]