Given a BaseFont object, how can I determine the font descent (maximum
extent below the baseline) in points?  The BaseFont class contains a static
constant DESCENT member, but I don't see how this can be the real descent
for every font regardless of size.  It has a value of 3, but I'm not sure
what unit that is in.

The PdfContentByte.setTextMatrix seems to appropriately position text
relative to the baseline, but I can't figure out how to position a
subsequent line so that (for an arbitrary font and size) it will be directly
under the text (containing characters like "y").




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to