I try to generate a PDF from this FO:
--- cut here ---
<?xml version="1.0"?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>

 <fo:layout-master-set>
  <fo:simple-page-master master-name="page" page-width="297mm" 
page-height="28mm" margin-left="1cm" margin-right="1cm" margin-top="1cm" 
margin-bottom="1cm">
   <fo:region-before extent="1cm"/>
   <fo:region-body margin-bottom="1.5cm" margin-top="1cm"/>
   <fo:region-after extent="0.5cm"/>
  </fo:simple-page-master>
 </fo:layout-master-set>

 <fo:page-sequence master-reference="page">
  <fo:static-content flow-name="xsl-region-before"/>
  <fo:static-content flow-name="xsl-region-after"/>
  <fo:flow flow-name="xsl-region-body">
   <fo:block width="3cm" height="3cm">Foo</fo:block>   
  </fo:flow>
 </fo:page-sequence>
</fo:root>
--- cut here ---


My command line is:
java -cp 
/opt/COCOON/WEB-INF/lib/batik-libs.jar:/opt/COCOON/WEB-INF/lib/xerces-1.4.4.jar:/opt/COCOON/WEB-INF/lib/avalon-framework-4.0.jar:/opt/COCOON/WEB-INF/lib/logkit-1.0.jar:/opt/COCOON/WEB-INF/lib/fop.jar
 
org.apache.fop.apps.Fop ~/hello.fo file.pdf

My version of FOP is 0.20.3rc2.

It seems that FOP does not like AT ALL my file. It begins to generate a 
HUGE PDF file, and never ends.


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

Reply via email to