advancementForGlyph problem
advancementForGlyph problem
- Subject: advancementForGlyph problem
- From: "David F." <email@hidden>
- Date: Wed, 28 Apr 2010 12:49:14 -0600
The information I am getting back from advancementForGlyph doesn't seem to be correct. Here are the glyph bounds and advancement for the capital letter 'A' in Georgia 36pt:
== A ==
bounds x: -0.720703
bounds y: 0.000000
bounds w: 25.699219
bounds h: 25.294922
advance w: 24.152344
advance h: 0.000000
The problem that I am seeing is that it looks like the advancement should only be 23 (maybe ~23.2). TextEdit appears to be using an advancement of 23 and underlines and strikethroughs are being drawn 23 pixels wide.
Any ideas on what I am doing/understanding wrong?
Thanks,
David
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden