xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Theresa Jayne Forster" <ther...@inbrand.co.uk>
Subject RE: Invalid PDF files from FOP 1.0
Date Mon, 13 Feb 2012 16:25:23 GMT
Its not the fonts or anything - its that a simple fo file is not producing a
valid pdf file at all no matter what I do. Its openable within Sumatra pdf
but not in foxit or adobe. 

 

I check the output logs, there are like WARNs but no ERRORS and it states it
has rendered  the page ok. (as you can see below) 

So why am I unable to open the PDF with adobe?

 

 

2012-02-13 15:58:00,974 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFFont@7a74db2c object number 29

2012-02-13 15:58:00,974 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFFont@7a74db2c object number 29

2012-02-13 15:58:00,974 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFFont@de16483 object number 30

2012-02-13 15:58:00,974 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFFont@de16483 object number 30

2012-02-13 15:58:00,974 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFFont@488ddb93 object number 31

2012-02-13 15:58:00,974 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFFont@488ddb93 object number 31

2012-02-13 15:58:00,974 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFFont@594ab51b object number 32

2012-02-13 15:58:00,974 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFFont@594ab51b object number 32

2012-02-13 15:58:00,975 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFToUnicodeCMap@3bc6d11a object number 33

2012-02-13 15:58:00,975 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFToUnicodeCMap@3bc6d11a object number 33

2012-02-13 15:58:00,975 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFFont@79ca209e object number 34

2012-02-13 15:58:00,975 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFFont@79ca209e object number 34

2012-02-13 15:58:00,975 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFToUnicodeCMap@4523a389 object number 35

2012-02-13 15:58:00,975 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFToUnicodeCMap@4523a389 object number 35

2012-02-13 15:58:00,976 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFNumber@26c59ad5 object number 36

2012-02-13 15:58:00,976 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFNumber@26c59ad5 object number 36

2012-02-13 15:58:00,977 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFNumber@773829d5 object number 37

2012-02-13 15:58:00,977 [pool-1-thread-1] DEBUG org.apache.fop.pdf.PDFObject
- Assigning org.apache.fop.pdf.PDFNumber@773829d5 object number 37

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.render.intermediate.IFRenderer - Rendering finished.

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.render.intermediate.IFRenderer - Rendering finished.

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.area.AreaTreeHandler - Initial heap size: 11600KB

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.area.AreaTreeHandler - Initial heap size: 11600KB

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.area.AreaTreeHandler - Current heap size: 15499KB

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.area.AreaTreeHandler - Current heap size: 15499KB

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.area.AreaTreeHandler - Total memory used: 3899KB

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.area.AreaTreeHandler - Total memory used: 3899KB

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.area.AreaTreeHandler - Total time used: 7548ms

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.area.AreaTreeHandler - Total time used: 7548ms

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.area.AreaTreeHandler - Pages rendered: 6

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.area.AreaTreeHandler - Pages rendered: 6

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.area.AreaTreeHandler - Avg render time: 1258ms/page
(48pages/min)

2012-02-13 15:58:01,003 [pool-1-thread-1] DEBUG
org.apache.fop.area.AreaTreeHandler - Avg render time: 1258ms/page
(48pages/min)

 

Kindest regards

 


Theresa Forster

Senior Software Developer



From: Rob Sargent [mailto:rsargent@xmission.com] 
Sent: 13 February 2012 16:19
To: fop-users@xmlgraphics.apache.org
Subject: Re: Invalid PDF files from FOP 1.0

 

Don't you want to reference your fonts relative to font-base?

On 02/13/2012 09:07 AM, Theresa Jayne Forster wrote: 

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





Mime
View raw message