Uppercase letters are normally as high as the font size.
Lowercase letters can jut down a bit.
I normally use font size * 1.4 between each row when
using manual text positioning.

/Klas

Ämne:
Re: [iText-questions] How to calculate text-height when using PDFContentByte?
Från:
pocketom <[email protected]>
Datum:
Fri, 26 Jun 2009 04:21:26 -0700 (PDT)
Till:
[email protected]
Till:
[email protected]

Hello Paulo,

thank you for your reply. I would be interested in getting the maximum
height, e.g. when thinking in uppercase letters only, or like when drawing a
box around a word or sentence that tangents at least one character at bottom
and the top side without cutting through another char. Hope that makes it
more clear...




------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
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/

Reply via email to