Hi;

 

I am comparing the values returned by TextLayout with
BaseFont.getFontDescriptor. I am doing this with 12 pt. Courier New running
on Windows.

 

Here is what I am getting

 

BaseFont.getFontDescriptor

ADVANCE: 7.3535156

AWT_ADVANCE: 9.990234

DESCENT: 0

AWT_DESCENT: 0

AWT_LEADING: 0 

 

TextLayout:

Ascent: 9.95

Descent: 3.6

Leading: 0

 

So AWT_ADVANCE seems to pat to TextLayout.getAdvance(). But why is there the
big difference in descent values returned?

 

Thanks - dave




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to