xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: Problems with external-graphics in 2-Columns
Date Wed, 04 Sep 2002 18:23:16 GMT
acsaszar@idginteractive.de wrote:
> I have a problem with external-graphics in 2-Column-PDF's generated with 
> FOP.
> Some images couldn't placed into the PDF. The Error is an eternal loop, 
> when
> FOP wants to place the image into the column. I think it's a bug in FOP.
> Usualy FOP looks, if a image has enough space to insert it on the site. If 
> not,
> it would be placed to the next site. But some times, I get this eternal 
> loop an the process
> could only stopped by killing it.
A unterminating loop usually indicates that something
is too large to fit onto a page all by itself.

It might help to scale down the image.

> Can somebody help me with my problem?

There are a lot of factors which influence rendering,
it is hard to deduce this from a XSLT snippet. You'll
have to post a small but complete FO document which
demonstrates the problem. You can try:
1. Run your XML+XSL through Xalan or Saxon to get a
  FO file. Run this through FOP to confirm that the
  problem is still there.
2. Minimize the FO file by deleting as much stuff as
  possible from  it while still showing the problem.
  In particular, delete unnecessary fo:external-graphics.
  Try to delete stuff like font-size and fint-family as
3. Try to replace the offending image by a black GIF of
  the same height*width (in pixels) and check whether
  the problem persists.
4. Post the remaining FO file and the h*w of the image.


View raw message