Hmm, ok, unfortunately my fo files are automatically generated after
from an xslt conversion, so I can't really get rid of the tabs that
easily, so please let me know about any fixes.

Thanks,
Jordan

-----Original Message-----
From: Jeremias Maerki [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 27, 2006 3:05 PM
To: [email protected]
Subject: Re: linefeed-treatment="ignore" creating # characters

With all the dots, I thought it might not be. Sorry. Ok, only after
copying the content into a stand-alone XML file did I see that there are
tab characters in the file. In this particular case they are not
converted to spaces and because the font does not contain a glyph for
the tab character you get the "#" characters. I'll have to run this by
our whitespace specialists because my interpretation of the case here
could be wrong, but I think you've just uncovered a bug with
linefeed-treatment="ignore".

In the meantime, just replace the tab characters with spaces and you
should at least not get any "#" characters in the output anymore. I
still think the behaviour after that is wrong but we'll have to take a
closer look, first.

On 27.04.2006 02:51:18 Jordan Soet wrote:
> Yes, sorry, I'm using FOP 0.92 Beta, and isn't this a complete FO
file?
> 
> 
> <?xml version="1.0" encoding="iso-8859-1"?>
> 
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
>   <fo:layout-master-set>
>     <fo:simple-page-master master-name="my-page">
>       <fo:region-body margin="1in"/>
>     </fo:simple-page-master>
>   </fo:layout-master-set>
> 
>   <fo:page-sequence master-reference="my-page">
>     <fo:flow flow-name="xsl-region-body">
>       <fo:block linefeed-treatment="ignore">...........
>         <fo:inline>
>         HI THERE
>         </fo:inline>
>         ..............
>         </fo:block>
>     </fo:flow>
>   </fo:page-sequence>
> </fo:root>
> 
> 
> -----Original Message-----
> From: Jeremias Maerki [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, April 26, 2006 3:17 PM
> To: [email protected]
> Subject: Re: linefeed-treatment="ignore" creating # characters
> 
> Does this problem still appear if you're using the latest release FOP
> 0.92beta? If yes, please post a complete FO-file so we can easily
> reproduce. Please always state the FOP version you're using when
posting
> here.
> 
> On 26.04.2006 05:48:55 Jordan Soet wrote:
> > Hi, I'm having a problem with the linefeed-treatment="ignore"
> option... when
> > I use it it changes any linefeeds into "#" characters. For example
see
> the
> > following:
> > 
> > <?xml version="1.0" encoding="iso-8859-1"?>
> > 
> > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
> >   <fo:layout-master-set>
> >     <fo:simple-page-master master-name="my-page">
> >       <fo:region-body margin="1in"/>
> >     </fo:simple-page-master>
> >   </fo:layout-master-set>
> > 
> >   <fo:page-sequence master-reference="my-page">
> >     <fo:flow flow-name="xsl-region-body">
> >       <fo:block linefeed-treatment="ignore">...........
> >       <fo:inline>
> >       HI THERE
> >       </fo:inline>
> >       ..............
> >       </fo:block>
> >     </fo:flow>
> >   </fo:page-sequence>
> > </fo:root>
> > 
> > 
> > Which becomes:
> > 
> > ...........##HI THERE#..............


Jeremias Maerki


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

Reply via email to