Op 14/03/2012 14:50, Christoph Schramm schreef: > What I need to increase is the ascent. For the first line of each > paragraph I could do that with SpacingBefore and for the spacing > between each lines there's leading
I don't understand. I know what the ascent and the descent are. It's explained in the book you say you've read: http://www.flickr.com/photos/itextinaction/4330322144 You can tell iText to take the ascent/descent of the complete font into account when adding content to a PdfPCell. As you can see in figure 3.7, you can also ask iText to calculate the ascent of specific words. However, I don't know what you mean when you say you want to increase the ascent. Are you saying you want to change this property for certain glyphs/ a font? And what do you mean by "the leading in PDF gets appended to a line." The leading is the space between the baselines of two consecutive lines of text. The leading isn't appended to anything. You'll have to be more clear if you want to get help. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. 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