We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ba9c90 + f77af86 commit 3a2e6d2Copy full SHA for 3a2e6d2
cocos2d/CCLabelTTF.m
@@ -656,6 +656,8 @@ - (CCTexture*) createTextureWithAttributedString:(NSAttributedString*)attributed
656
NSMutableAttributedString* outlineString = [attributedString mutableCopy];
657
[outlineString addAttribute:NSForegroundColorAttributeName value:color range:NSMakeRange(0, outlineString.length)];
658
659
+ CGContextSetStrokeColorWithColor(context, color.CGColor);
660
+
661
[outlineString drawInRect:drawArea];
662
663
// Don't draw shadow for main font
0 commit comments