pgruetter wrote: > Hi all > > We created several PDF forms with Adobe LiveCycle Designer 8.2 ES. We load > these PDF files as templates in iText and fill out the fields and create the > static form with stamper.setFormFlattening(true); > > Problem: > In the PDF template, the labels and the text fields are perfectly aligned if > filled out manually. > After iText fills out the PDF form, the text fields are not aligned anymore, > the text is vertically lower. > If we disable FormFlattening, you can edit the resulting PDF and can see, > that the fields are actually lower than in the original PDF. > > Does anybody have an idea why that is? > Is this a know problem? Are there any solutions?
Read section 16.1.5 if you have the first edition of "iText in Action". Read section 8.4.2 if you have the MEAP of the second edition. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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/