It's a bug already corrected (in my computer...). Replace in PdfStamperImp os.write(HEADER);
for this.os.write(HEADER); Best Regards, Paulo Soares > -----Original Message----- > From: Finn Bock [SMTP:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 17:43 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Corrupt output pdf after fdfmerge. > > Hi, > > I have an input PDF file (created by iText) that I try to run fdfmerge > on like this: > > java fdfmerge Ramme.pdf Ramme_new.pdf > > So there is no data inserted and no flattening. Yet the resulting output > file is corrupt according to Acrobat 5.0: > > "An error occured during opening of the document. The file is corrupt > and can't be repared". > > If I make small changes to the inputfile, like removing a random > paragraf, then the output file from fdfmerge isn't corrupt anymore. > > The input file is here (~100Kb): > > http://develop.innovasion.dk/Ramme.pdf > > and the corrupt output file > > http://develop.innovasion.dk/Ramme_new.pdf > > Any insight would be very helpfull. > > regards, > finn > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions