Re: CoreText - CTFrameDraw doesn't draw paragraph's last line

2010-11-26 Thread Robert Vojta
On 26.11.2010, at 14:12, Robert Vojta wrote: Sorry, wrong mailing list, redirecting to coretext-dev ... ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

CoreText - CTFrameDraw doesn't draw paragraph's last line

2010-11-26 Thread Robert Vojta
Hi all, I'm trying to solve my CoreText problem with paragraph text drawing. It draws my paragraph perfectly, but it doesn't draw the last line in some cases. I have no idea why. Here's the frame size calculation method ... - (CGSize)sizeThatFits:(CGSize)size { CFRange labelFitRange; CT