You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Arved Sandstrom <Ar...@chebucto.ns.ca> on 2001/05/07 11:26:01 UTC

Re: same fo-file input different fop versions generate different output

At 10:11 AM 5/7/01 +0200, Keiron Liddle wrote:
>
>On Sun, 06 May 2001 23:43:08 Arved Sandstrom wrote:
>> On Thursday 03 May 2001 15:26, Sven Taeymans wrote:
>> > Hello all,
>> >
>> > I'm using a coloured paragraph but when when at the end-of-page when a
>> > paragraph is split and continues on the next page the colour
>> information is
>> > discarded.
>> >
>> > This seems to be introduced as of FOP version 17, FOP version 16 works
>> ok.
>> 
>> Hi, Sven
>> 
>> I started looking at this today. It seems to affect colour only; other 
>> properties still carry over OK.
>> 
>> For anyone who is also curious and/or is looking at this, the LineAreas
>> in 
>> the continued section are also being set with the proper colour, and it
>> sure 
>> looks like the WordAreas are, too, so it might be some kind of ugliness
>> in 
>> PDFRenderer. I'll find out tomorrow - I had about 6 or 8 files open just
>> to 
>> get this far and got a headache. :-)
>
>With a quick look I would say that the problem is that it only sets the
>colour (by writing to the pdf output) if the colour changed from when it
>was last set. So even though we are on a new page it doesn't set the colour
>for the new text.
>
>The page is surrounded by a "BT" and "ET" and is in a separate stream (I
>think, but don't quote me) so this prevents the colour from carrying over.
>
>So the solution would probably be to set the currentFill to null at the end
>of each page.

Hi, Keiron

Thanks...that confirms my impression, and speeds up the process. I'll knock 
out a patch this evening.

Regards,
Arved

Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org