Skip to content
Snippets Groups Projects
Commit afa9f9b5 authored by George Nachman's avatar George Nachman
Browse files

Merge branch 'master' of https://github.com/gnachman/iTerm2

parents 9cead861 061432b9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -1457,19 +1457,19 @@ typedef struct iTermTextColorContext {
atPoint:(NSPoint)origin
positions:(CGFloat *)stringPositions
backgroundColor:(NSColor *)backgroundColor {
NSGraphicsContext *graphicsContet = [NSGraphicsContext currentContext];
NSGraphicsContext *graphicsContext = [NSGraphicsContext currentContext];
[self drawTextOnlyAttributedStringWithoutUnderline:attributedString
atPoint:origin
positions:stringPositions
backgroundColor:backgroundColor
graphicsContext:graphicsContet
graphicsContext:graphicsContext
smear:NO];
 
__block CGContextRef maskGraphicsContext = nil;
__block CGImageRef alphaMask = nil;
NSDictionary *maskingAttributes = @{ (NSString *)kCTForegroundColorAttributeName: (id)[[NSColor colorWithSRGBRed:0 green:0 blue:0 alpha:1] CGColor] };
CGContextRef cgContext = (CGContextRef) [graphicsContet graphicsPort];
CGContextRef cgContext = (CGContextRef) [graphicsContext graphicsPort];
 
[attributedString enumerateAttribute:NSUnderlineStyleAttributeName
inRange:NSMakeRange(0, attributedString.length)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment