Skip to content

Commit 60b1222

Browse files
committed
Enable Emoji onlly with DRAW_WIDE
1 parent fe879fc commit 60b1222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MacVim/MMCoreTextView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ - (void)drawString:(const UniChar *)chars length:(UniCharCount)length
12721272
}
12731273

12741274
recurseDraw(chars, glyphs, advances, positions, length, context, fontRef, x,
1275-
y+fontDescent, fontCache, emojiEnabled);
1275+
y+fontDescent, fontCache, (flags & DRAW_WIDE) && emojiEnabled);
12761276

12771277
CFRelease(fontRef);
12781278
CGContextRestoreGState(context);

0 commit comments

Comments
 (0)