On Dec 28, 2006, at 1:18 PM, robert engels wrote:

line 199 of PRTokenizer

        int idx = str.indexOf("%PDF-1.");

is unnecessarily restrictive. We have encountered otherwise valid PDFs (that Adobe Reader is able to open).

What version of Reader will open that file? I would be VERY surprised if Acrobat/Reader 8 will...

        Can you post a sample?



The line can be changed to

        int idx = str.indexOf("%PDF-");

with no adverse affects.

        That is true - such a change would be fine.

Leonard
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to