forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo" <leont...@tstt.net.tt>
Subject FW: PDF generation error
Date Mon, 19 Jan 2004 23:41:09 GMT
Hi folks

I am getting the following error when I try to generate a pdf file with a
png image. (Comment out reference to image and pdf is generated fine).
e.g of image reference
  <figure src="images/png/DSystem.png" id="HLD" alt="DSystem"></figure>

Error:
org.apache.fop.apps.FOPException: No meaningful layout in block after
many attempts.  Infinite loop is assumed.  Processing halted.

I saw the post below and tried what was suggested both omiting the 
width/height or giving in cm.  This did not work.

Help. I need to generate the pdf files with images.

Regards
Leo


-----Original Message-----
From: J.Pietschmann [mailto:j3322ptm@yahoo.de]
Sent: Monday, December 01, 2003 3:00 PM
To: forrest-dev@xml.apache.org
Subject: Re: PDF generation error


Johan Kok wrote:
> I got the following error with a page that has a jpg included:
> 
> org.apache.fop.apps.FOPException: No meaningful layout in block after
> many attempts.  Infinite loop is assumed.  Processing halted.
> 
> The error is eliminated when I comment the figure portion in the
> following section out.
> 
> 
> <section>
>   <title>Championship flyer</title>
>     <figure src="images/flyers/tri-aqua03.jpg" alt="TNG Aquathlon and
> Triathlon Championships" width="500"/>
> </section>
> 

This means something didn't fit the page, apparently the image. I'm
not sure about the exact reason, try to omit the width and rely on
auto-scaling, or give both width and height, preferably in cm rather
than pixels (PDF is not a bitmap format).

J.Pietschmann


Mime
View raw message