mingqiang yu,

mingqiang yu wrote:
> I recently got a pdf file which makes the PDFReader failed:
> 
> com.itextpdf.text.exceptions.InvalidPdfException: trailer not found.
>       [...]
> 
> I tried to open the pdf with wordpad and it's true that it doesn't have
> trailer.

Can you share that file with the mailing list for further inspection?

It looks like your PDF uses a pure Xref stream, not the old Xref table
anymore. I thought iText can handle such files, though. Thus, maybe your
file is actually somehow broken.

Regards,   Michael

--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/trailer-not-found-tp3945018p3947400.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to