Dear All,

I had ps image and it has to be inserted in the PDF which I am going to
generate. I have used the following code to insert this graphic.

  <fo:block>
   <fo:external-graphic src="file:D:/xml-fop/gae.ps"/>
  </fo:block>


The result is, following error message. Please suggest me how to solve this.
I am attaching both fo and ps file.

fop helloworld.fo helloworld.pdf
Could not find a set of breaking points
java.lang.OutOfMemoryError
Exception in thread "main"

Thanks in advance.

Ganesh

Attachment: gae.ps
Description: PostScript document

<?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="simpleA4" page-height="29.7cm" page-width="21cm" margin-top="2cm" margin-bottom="2cm" margin-left="2cm" margin-right="2cm">
      <fo:region-body/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="simpleA4">
    <fo:flow flow-name="xsl-region-body">
      <fo:block>Hello World!</fo:block>
  <fo:block>
   <fo:external-graphic src="file:D:/xml-fop/gae.ps"/>
  </fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

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

Reply via email to