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
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to