xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bowditch <bowditch_ch...@hotmail.com>
Subject Re: Multiple spaces
Date Fri, 19 Aug 2011 13:21:13 GMT
On 17/08/2011 15:06, MorganB wrote:
> Hello,

Hi Morgan,

> First of all, sorry for my poor english.
>
> I try to generate simple text. However, when I write multiple spaces or
> space before starting my text, everything is overwrited into a simple space
> (for multiple spaces) or erased (for my space before starting my text).

To stop multiple spaces being collapsed into a single space use 
white-space-collapse="false" on your fo:block

To stop whitespace at start and end of a line from being dropped, use 
white-space-treatment="preserve" on your fo:block

> For example, my text
>
> -a-b-------c (with - as space " ") is translated into
> a-b-c
>
> Do you know how can I keep my multiple spaces ?
>
> Thanks for you help,
>
> Morgan

Thanks,

Chris

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


Mime
View raw message