Re: rectArrayForCharacterRange and lineSpacing (was: text highlighting with CALayer and NSTextView)
Re: rectArrayForCharacterRange and lineSpacing (was: text highlighting with CALayer and NSTextView)
- Subject: Re: rectArrayForCharacterRange and lineSpacing (was: text highlighting with CALayer and NSTextView)
- From: Koen van der Drift <email@hidden>
- Date: Mon, 03 Sep 2012 19:45:27 -0400
Thanks, I'll have a look at that.
- Koen.
On Sep 3, 2012, at 19:01, Kyle Sluder <email@hidden> wrote:
> On Sep 3, 2012, at 11:02 AM, Koen van der Drift <email@hidden> wrote:
>
>>
>> So it seems for the last rect, the linespace is ignored. I can test for that, and correct it, but I was wondering what is going on. And where does the '3' come from?
>
> There was a WWDC 2012 session on Core Text that Ned Holbrook gave that did a decent job explaining the different components that make up a line's typographic bounds.
>
> --Kyle Sluder
_______________________________________________
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