You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Thomas Gelzhaeuser <th...@gelzhaeuser.de> on 2007/10/22 16:48:17 UTC

Weird rendering problem

Hi Fopsters.

I have a weird rendering problem: When I try to render the attached
xml for itself, everything works out quite fine. When I uncomment the
graphics tag and use the attached image as a side-image, the image
will be rendered below the other cells in the header. Why is that? Any
Ideas? (I tried with 0.93 and 0.94)

Thanks a lot.

Thomas.

Re: Weird rendering problem

Posted by Thomas Gelzhaeuser <th...@gelzhaeuser.de>.
Hi all.

Fixing the region-before-size here helped me out. Thanks for all the
input. I'll have a closer look into fo:region-end later.

Thomas.



On 10/23/07, Vincent Hennebert <vi...@anyware-tech.com> wrote:
> Hi,
>
> Jeremias Maerki wrote:
> > You need to pay attention to FOP's log output. Basically, it's a
> > side-effect from an overflow condition which is currently not handled in
> > the best possible way. If you make the region-before large enough (or
> > the image small enough) so there's no overflow, everything will look
> > good.
>
> Still, there is a flaw in the calculation of merged Knuth elements which
> should be corrected. I've just filed a bug report (#43676) as
> a reminder. Thanks for the testcase, Thomas.
>
> That said, you may have the result you want by putting the big image in
> an fo:region-end instead. That way you won't have to artificially make
> the content of the region-before overflow over the region-body.
>
> HTH,
> Vincent
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>


-- 
Thomas Gelzhäuser
Hollerallee 10-12 :: 28209 Bremen :: Germany

T :: +49 421 9861372
M :: +49 172 3927600
Skype :: gelzhaeuser

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


Re: Weird rendering problem

Posted by Vincent Hennebert <vi...@anyware-tech.com>.
Hi,

Jeremias Maerki wrote:
> You need to pay attention to FOP's log output. Basically, it's a
> side-effect from an overflow condition which is currently not handled in
> the best possible way. If you make the region-before large enough (or
> the image small enough) so there's no overflow, everything will look
> good.

Still, there is a flaw in the calculation of merged Knuth elements which 
should be corrected. I’ve just filed a bug report (#43676) as 
a reminder. Thanks for the testcase, Thomas.

That said, you may have the result you want by putting the big image in 
an fo:region-end instead. That way you won’t have to artificially make 
the content of the region-before overflow over the region-body.

HTH,
Vincent

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


Re: Weird rendering problem

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
You need to pay attention to FOP's log output. Basically, it's a
side-effect from an overflow condition which is currently not handled in
the best possible way. If you make the region-before large enough (or
the image small enough) so there's no overflow, everything will look
good.

Jeremias Maerki



On 22.10.2007 16:48:17 Thomas Gelzhaeuser wrote:
> Hi Fopsters.
> 
> I have a weird rendering problem: When I try to render the attached
> xml for itself, everything works out quite fine. When I uncomment the
> graphics tag and use the attached image as a side-image, the image
> will be rendered below the other cells in the header. Why is that? Any
> Ideas? (I tried with 0.93 and 0.94)
> 
> Thanks a lot.
> 
> Thomas.


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