Hi,

PdfXRefStream creates an XRef stream (PDF 1.5).
It produces the following array to the W key: 1 8 1 (The 8 comes from sizeof( pdf_int64)).

However,  PdfXRefStreamParserObject cannot read the generated PDF.
The method ReadXRefStreamEntry checks the inner number of the W key and throws an exception if it's greater than W_MAX_BYTES (which is 4).

Seems like either the 8 should be changed to 4 or the other way around.
If tried the first option and it works fine. Would you like me to send a patch?

Thanks,

Ilan
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to