Re: NSAttributesString -size is often very innaccurate
Re: NSAttributesString -size is often very innaccurate
- Subject: Re: NSAttributesString -size is often very innaccurate
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 30 Jan 2009 00:02:24 -0700
On Jan 29, 2009, at 11:46 PM, Graham Cox wrote:
I should mention I'm just drawing isolated attributed strings using -
drawAtPoint here, not long runs of laid-out text.
Anyone figured this out?
I've always just used NSLayoutManager to calculate the size of
attributed text, which works fine for me as long as the typesetter
behavior is set to NSTypesetterBehavior_10_2_WithCompatibility.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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