Thanks to everyone who has tried to help, apparently the example I used as a template on the web was a little broken and didn’t close the output streams correctly, so with your help I now know what is wrong and am putting it right.

 

Thanks again

 

Kindest regards

 


Theresa Forster

Senior Software Developer

From: Theresa Jayne Forster [mailto:theresa@inbrand.co.uk]
Sent: 13 February 2012 16:07
To: fop-users@xmlgraphics.apache.org
Subject: Invalid PDF files from FOP 1.0

 

Well I have sort of tested the system now, I used the default fonts.fo file and transformed it to PDF.

 

This simple PDF is not compatible with adobe reader.

This is now getting silly.

 

My code + test files + output files are available at http://athos.ardentservers.com/fopengine-error.zip

 

If someone could point me to the reason why I am getting invalid PDFs out I would appreciate it.

 

 

Kindest regards

 


Theresa Forster

Senior Software Developer