Op 14/02/2011 16:36, Wyatt Biker schreef: > So far all I understand is that I would have to get some information > from the field (using which methods?),
getFieldPositions(), see page 263-264. > flatten it (which methods?), One possible way to do it, is the addParagraph method in listing 8.17. This method is probably more sofisticated than you need, and it doesn't allow to use kerning. > then use showTextAlignedKerned() . But where do I actually give the > kern values? Use the coordinates obtained with getFieldPositions as parameters for showTextAlignedKerned(). The kerning values are retrieved automatically from the font by iText. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions 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
