Bugs item #1763550, was opened at 2007-07-30 05:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=790130&aid=1763550&group_id=154028

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: PdfDocument & PDF version 1.6

Initial Comment:
on: Mac OSX (10.4.9) using XCode (2.4.1) 
PoDoFo (v0.5.0 - had to do some changes in order to build it on mac e.g. 
removing mac-specific code regarding Carbon font APIs and removing files 
(PdfParserBase & PdfRefCountedFile) and adding others instead - all this is not 
related to images & documents i hope).

Bug: Trying to instantiate a PDFDocument using the constructor that gets a file 
name (to be loaded into document) will crash.

This only happens with files of pdf version 1.6 (see attached sample to use as 
input file) others are loaded successfuly and displayed as expected.

Error: indicates of ePdfError_InvalidDataType
this is thrown in line:

if( !m_pLinearization->GetDictionary().HasKey("Linearized") )
 
(in : PdfParser::ReadDocumentStructure() which is called when instansiating 
PdfDocument with file attached (input.pdf)

when instantiating a PdfDocument, a PdfPardser is built, calling its member 
ParseFile() which calls ReadDocumentStructure() which calls in turn to 
HasLinearizationDict())).

I hope i havent missed anything.

Thanks in advance!
jonathan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=790130&aid=1763550&group_id=154028

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to