[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
On 2015-04-09 Martin Doucha wrote: > On 2015-04-09 Kallauch Benjamin wrote: > > > > 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. A good catch! Thanks for sharing. But keep in mind not all fonts have   code point in their character set. > 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 > See also https://issues.apache.org/jira/browse/FOP-1444 Jan
<<attachment: winmail.dat>>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]