kralik wrote:
...
FOP 0.20.5 I do this:
...
        <fo:block font-family="monospace" text-align="left" font-size="10px"
color="#00008b" white-space-collapse="false" wrap-option="no-wrap">
...
The structure of output document was without problem. All spaces, indents
and new lines were perfect. I could compare it with tag <PRE> in HTML.

But in FOP 0.91-beta I have problems. Neither white-space="pre" nor anything
else is funktionable.

The implementation of white space handling in FOP 0.20.5 is based
on a rather old draft of the XSL spec and does not conform to
XSLFO 1.0.
The white-space shorthand is apparently not implemented yet in 0.91
(it wasn't implemented in 0.20.5 either).
You should probably use the following property set:
 linefeed-treatment="preserve"
 white-space-collapse="false"
 white-space-treatment="preserve"
 wrap-option="no-wrap"

J.Pietschmann

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

Reply via email to