Re: Finding the height of a piece of text
Re: Finding the height of a piece of text
- Subject: Re: Finding the height of a piece of text
- From: Jerry Krinock <email@hidden>
- Date: Fri, 23 Nov 2007 07:00:12 -0800
Here we go again...
On 2007 Nov, 22, at 16:56, Vincent Coetzee wrote:
There is a piece of code in the "Text Layout Programming Guide"
that shows how to do this....[but] the
height that I calculate is always too small (by about ~1 line
height). Does anyone have a working solution to this problem
Please file a Bug Report to Apple. Tell them it is a duplicate of bug
5291163, which has a nice demo project. Supposedly if more people
complain it is more likely to get attention.
or a more elegant method of solving it ?
I don't see any solution in your code, but I add fudge factors and
terms, which is about as in-elegant as you can get. See the message I
posted 2 days ago, subject = "number of rows for an attributed string".
_______________________________________________
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