Hi,

I had a problem that the use of stamper made a PDF corupted.
Just these 3 lines are enough to damage the PDF.

PdfReader reader = new PdfReader( FileIn );
PdfStamper stamper = new PdfStamper(reader, new FileOutputStream( FileOut
) );
stamper.close();

The PDF contained some subsets of fonts and these fonts are damaged after
stamper. While opening the PDF Acrobat told me: "... Font contains a bad
/BBox".

Before the font-info in the PDF is:
 FontName (Embedded Subset)
 Type: TrueType (CID)
 Encoding: Identy-H

After stamper the font info is:
 FontName
 Type: TrueType (CID)
 Encoding: Identy-H
 Actual Font: Unknown

Anybody had this problem before?

Regards
Georg

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to