Skip to content

Commit

Permalink
fix text rendering problem: #229 and #262
Browse files Browse the repository at this point in the history
  • Loading branch information
ibireme committed Apr 2, 2016
1 parent a358681 commit 603ba8e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion YYText/Component/YYTextLayout.m
Expand Up @@ -2558,7 +2558,6 @@ static void YYTextDrawText(YYTextLayout *layout, CGContextRef context, CGSize si
CGContextTranslateCTM(context, point.x, point.y);
CGContextTranslateCTM(context, 0, size.height);
CGContextScaleCTM(context, 1, -1);
CGContextSetShadow(context, CGSizeZero, 0);

BOOL isVertical = layout.container.verticalForm;
CGFloat verticalOffset = isVertical ? (size.width - layout.container.size.width) : 0;
Expand Down

0 comments on commit 603ba8e

Please sign in to comment.