[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-user
Subject: Re: [Bug?] How to preserve linefeed?
From: Andreas L Delmelle <a_l.delmelle () pandora ! be>
Date: 2005-12-20 19:00:00
Message-ID: CA8B8CE1-07A7-4BA7-B3D8-E1989B0BAEFC () pandora ! be
[Download RAW message or body]
On Dec 20, 2005, at 19:47, Florent Georges wrote:
Hi,
> I didn't find trace of this bug in bugzilla, although I
> guess it was already reported. It related to the treatment
> of linefeeds. Given the following FO:
Strictly speaking, this is dubious
>
> <fo:block>
> <fo:inline linefeed-treatment="preserve"
> white-space-collapse="false"
>> Bla bla</fo:inline>
> </fo:block>
Both properties don't apply to fo:inline --meaning: specifying them
there has no effect on the inline itself-- but are inherited from the
fo:block.
Try:
<fo:block linefeed-treatment="preserve"
white-space-collapse="false">
<fo:inline>Bla
Bla</fo:inline>
</fo:block>
Et voilą! Works fine with 0.90.
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic