This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: spaces skipped in PDF (using Simplified DocBook 1.0,XSL stylesheet 1.60.1, FOP and Xalan)


>I use Simplified Docbook 1.0 and the XSL stylesheet 1.60.1. I have written a 
>Ant build file to compile my document into HTML and PDF using Xalan 2.4.1 and 
>FOP 0.20.5rc. I have a problem in the TOC in the PDF version: the spaces of 
>my titles are skipped: a section named for example "This is a test" becomes: 
>"Thisisatest".
>
>Can someone help me to solve the problem?

I filed this as bug #15936 against FOP, and can be viewed here:
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15936

It was fixed just this week (how's that for service?) but has not made it
into a release yet. :-(  Basically, there was a problem with leader expansion
(i.e. "the dots between the section title and the page number") where it
forced the inter-word spacing to a minimum value, making it appear that
there are no spaces between words.  There _are_ spaces--they're just
_really_ small ones.

FOP 0.20.4rc does not have the problem, so you may want to consider going
back to that.

					m@

+-mbraun@urbana.css.mot.com-+- I was chasin' a ghost pale and white ----------+
|   Matt Braun -- Motorola, |    and hard to see;  The boys in blue from      |
|Urbana/Champaign Design Ctr|  Peculiar School are hangin' out in the dark    |
+CellularSubscriberSomething+-- and they're lookin' for me. ------------[SR]-+


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]