Hi all,

fop 0.20.3rc2 does stop with a
OutOfMemoryError if (i assume) images have
too large dimensions (my example: PNG image
445 pixel width, 660 pixel height, 200dpi).
BTW, this error is not reproducable with an
image with the dimension i.e. 660x445.

I've tried to produce a minimal example:
<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <fo:layout-master-set>
   <fo:simple-page-master
      master-name="simple1" page-width="210mm" page-height="297mm"
      margin-top="1in" margin-bottom="1in" margin-left="1in" 
margin-right="1in">
    <fo:region-body margin-bottom="0.5in" margin-top="1in"/>
   </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="simple1">
   <fo:flow flow-name="xsl-region-body">
    <!-- no problem -->
    <!-- <fo:block> -->
    <!-- fop ends with an out of memory exception -->
    <fo:block space-before.minimum="0.5em" space-before.optimum="1em"
       space-before.maximum="2em" space-after.minimum="0.5em"
       space-after.optimum="1em" space-after.maximum="2em">
     <fo:external-graphic
        src="../../../bitmaps/fop-test.png"
        width="auto" height="auto"
        content-width="auto" content-height="auto"/>
    </fo:block>
   </fo:flow>
  </fo:page-sequence>
</fo:root>


Here is a output snippet:
...
[INFO]: [4172]
[INFO]: [4173]
java.lang.OutOfMemoryError
         <<no stack trace available>>
Exception in thread "main"

TIA, Sven


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to