Re: boundingRectWithSize problem?

2012-02-07 Thread Tony Pollard
/CategoriesObjC.git Cheers! Tony Pollard On 27 Jan 2012, at 11:26 am, Tony Pollard wrote: > Good thought Tim, but for some reason it doesn't work in this case (both on > 10.6 & 10.7). > > As you would expect, it is size/font sensitive so I can get the same failure >

Re: boundingRectWithSize problem?

2012-01-27 Thread Tony Pollard
> Tim > > Am 25.01.2012 um 16:26 schrieb Tony Pollard: > >> Hi folks, >> >> I'm having a strange problem with NSAttributedString boundingRectWithSize in >> getting the needed height for a fixed width. It works 99% of the time, but >> it consiste

boundingRectWithSize problem?

2012-01-25 Thread Tony Pollard
F.ex: Large trailers came along and tipped it into a big hopper.{ CdctPhraseType = Transition; NSColor = NSCalibratedRGBColorSpace 0.227451 0.54902 0.258824 1; NSFont = "LucidaGrande 9.00 pt. P [] (0x50bbd0) fobj=0x50b7b0, spc=2.85"; } The resulting Rect is too short by about