Hello,
We are using podofo to develop applications for mac and iOS.
Trying to open and update a pdf document, we are getting the following
exception:
PoDoFo encounter an error. Error: 5 ePdfError_UnexpectedEOF
Error Description: End of file was reached unxexpectedly.
Callstack:
#0 Error Source:
/Users/khalid_jumaa/Desktop/podofo-0.9.1/src/base/PdfParser.cpp:209
Information: Unable to load objects from file.
#1 Error Source:
/Users/khalid_jumaa/Desktop/podofo-0.9.1/src/base/PdfTokenizer.cpp:345
Information: Expected number
So what could be the problem, and how to solve it.
Notes:
- Opening the document using adobe acrobat goes fine, with no problems.
- The document was created by Adobe Acrobat Ver 10.1.3 scanning option.
- Unchecking the "Optimize Scanned PDF" ( by default checked ) option in
"Acrobat Scan" solves the problem and causes podofo to successfully parse the
pdf, but it considerably increases the scanned pdf document size.
To have a look at the document, you can download it from:
http://ge.tt/59fCRhL/v/0?c
Khalid M. Jumaa------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users