Re: Font problem: iOS5 NSString's sizeWithFont returns integral values unlike drawAtPoint
Re: Font problem: iOS5 NSString's sizeWithFont returns integral values unlike drawAtPoint
- Subject: Re: Font problem: iOS5 NSString's sizeWithFont returns integral values unlike drawAtPoint
- From: Greg Parker <email@hidden>
- Date: Fri, 28 Oct 2011 18:15:19 -0700
On Oct 25, 2011, at 9:19 AM, David Duncan wrote:
> Prior to iOS 5 -drawAtPoint: did return integral values, which could lead to odd situations such as rendering @"m" and @"a" requiring more of an advance than rendering @"ma".
Even if -drawAtPoint: did/does return fractional values, you would still expect typography elements like kerning and ligatures to mean that rendering @"m" and @"a" would not have the same advance as rendering @"ma".
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
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