Font metrics
Font metrics
- Subject: Font metrics
- From: Andreas Mayer <email@hidden>
- Date: Mon, 2 Feb 2004 05:33:56 +0100
I have a problem understanding font metrics.
I've got a font with these metrics:
boundingRectForFont.size.height: 21.893066
lineHeight: 16.000000
xHeight: 8.169434
capHeight: 12.568359
ascender: 12.568359
descender: -2.742188
Now, suppose I draw a string with that font using
drawInRect:withAttributes:
At which position will the base line be when drawing in a flipped/non
flipped view?
Thankful for any insight,
Andreas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.