You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Sal Tarantola <st...@switchsoftware.com> on 2003/02/04 23:02:19 UTC

White space

I'm sure this has been covered to death.  If someone would point me to
the right area I'd appreciate it greatly.
 
I need to take a string of formatted data from my xml database and
present it.  I've played with white-space-collapse and changing the font
around but it still does not present correctly so that all dots and
spaces line up correctly from line to line.
 
An example below of what the pdf document renders as
Invoice....... Date...... Cust... Inv amount

02010001 01-01-2002 00008 282.10

 

Any ideas would be greatly appreciated.

 

Sal


Re: White space

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Sal Tarantola wrote:
> As I said I know that the whole white-space issue has been tackled
> before.

That's why there is a FAQ entry:
  http://xml.apache.org/fop/faq.html#faq-N10583

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


RE: White space

Posted by Sal Tarantola <st...@switchsoftware.com>.
Thanks much.  Worked just as I would have expected it to work.

As I said I know that the whole white-space issue has been tackled
before.

-----Original Message-----
From: Roland Neilands [mailto:rneilands@pulsemining.com.au] 
Sent: Tuesday, February 04, 2003 5:23 PM
To: fop-user@xml.apache.org
Subject: RE: White space


Sal,

>I need to take a string of formatted data from my xml database and 
>present it.  I've played with white-space-collapse and changing the 
>font around but it still does not present correctly so that all dots 
>and spaces line up correctly from line to line.
>
> An example below of what the pdf document renders as
Invoice....... Date...... Cust... Inv amount
02010001 01-01-2002 00008 282.10

Use a fixed width font for these lines, eg: font-family="Courier"

And to quote Oleg, from the last day or two, use all of these:
white-space-collapse="false" 
linefeed-treatment="preserve" white-space-treatment="preserve" 

"... formatted data from my xml database ..."
What a strange idea. 

Cheers,
Roland.





---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


RE: White space

Posted by Roland Neilands <rn...@pulsemining.com.au>.
Sal,

>I need to take a string of formatted data from my xml database and present it.  I've played with white-space-collapse and changing the font around but it still does not present correctly so that all dots and spaces line up correctly from line to line.
>
> An example below of what the pdf document renders as
Invoice....... Date...... Cust... Inv amount
02010001 01-01-2002 00008 282.10

Use a fixed width font for these lines, eg:
font-family="Courier"

And to quote Oleg, from the last day or two, use all of these:
white-space-collapse="false" 
linefeed-treatment="preserve" white-space-treatment="preserve" 

"... formatted data from my xml database ..."
What a strange idea. 

Cheers,
Roland.





---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org