Jerald,
a polite request: please post user questions to the fop-user list as the
fop-dev list is for matters concerning fop's development only.
Now to your question, I believe you need to specify:
white-space-collapse="false" AND line-feed-treatment="preserve"
you also need to make sure that if you are using XSLT to generate your
FO, that the white space is not dropped by the transformation.
Chris
Jerald.Ignaci wrote:
Hi,
I want to retain white spaces in PDF. I have tried with following
attributes.
<fo:block font-size="{$restrictionFont}" font-family="Arial"
font-weight="bold" space-after="1mm" text-align="center"
margin-left="1cm" margin-right="1cm" wrap-option="no-wrap"
white-space-collapse="false">
Still I all white spaces are trimmed. Please let me know the solution.
If any FOP version problem, please give me the correct version for this.
Thanks and Regs,
Jerald