An afterthought...

trailer
> <</Info <</Info <</Producer (Tailor Made Software 
> i...@tailormade.com)/Title (From AutoCAD drawing
> "samples/1_50.dwg")>>>>/Root 2 0 R/Size 13>> 
> 
> This is broken in two ways. First of all the /Info value (if present)
> shall be an indirect reference...

Interestingly enough, the document does contain an indirect object
containing a document information dictionary:

1 0 obj
<</CreationDate ()/ModDate ()/Producer (PDFTron PDFNet)>>

This object is not referenced from anywhere inside the file.

It looks like the program which produced that PDF used the PDFTron PDFNet
library but didn't want it to appear as producer. To overwrite that producer
reference it fiddled with the trailer dictionary (maybe PDFTron protects the
/Producer entry in the prepared document information dictionary?) and broke
the trailer in the process.

Regards,   Michael.
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/ClassCastException-in-PdfStamperImp-java-tp2232601p2232754.html
Sent from the iText - General mailing list archive at Nabble.com.

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

_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to