mattt/TTTAttributedLabel — Issue #50: I think I found a bug when numberOfLines is greater than 0 and verticalAlignment is set to TTTAttributedLabelVerticalAlignmentCenter
Author: jasongregori
Created: 2012-02-02 03:48:13+00:00
State: open

The text always seems to show up as if verticalAlignment is set to TTTAttributedLabelVerticalAlignmentBottom. I tried debugging the code to try and find the bug. I found something that could be the bug but I'm not sure since I don't fully understand the code.

Should the code that gets the `lineOrigin` in the method `- (void)drawFramesetter:(CTFramesetterRef)framesetter textRange:(CFRange)textRange inRect:(CGRect)rect context:(CGContextRef)c` add the origin of `rect`?