Hi, 

I'm using fop libraries v1.1, and I noted that fop by default collapse
white-spaces inside strings. For example a block like:


Render as



eliminating whitespaces. I would like to keep strings inner whitespaces in
the generated pdf, so I tried to use the white-space="pre" attribute inside
the block tag, but it preserves only white-spaces outside the string.

Then I tried to use the white-space-treatment="preserve" attribute inside
the block tag, but the rendered page had collapsed white-spaces.

Finally I tried to use the white-space-collapse="false" attribute inside the
block, and also in this case the rendered page had collapsed white-spaces.

Is there a way to change the fop behaviour in order to preserve white-spaces
inside strings?

Thanks, 
Andrea




--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/How-to-avoid-white-spaces-collapse-in-fop-1-1-tp38487.html
Sent from the FOP - Users mailing list archive at Nabble.com.

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

Reply via email to