From 201c6b74e4b7a3fec955595cf70e692d1303e7d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=CC=81=20Ko=CC=88cher?= Date: Sun, 8 Nov 2015 11:53:46 +0100 Subject: [PATCH] Fall back to basic ligatures(1) not full(2). --- src/MacVim/MMCoreTextView.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MacVim/MMCoreTextView.m b/src/MacVim/MMCoreTextView.m index de996e788b..07d3e6c709 100644 --- a/src/MacVim/MMCoreTextView.m +++ b/src/MacVim/MMCoreTextView.m @@ -1045,8 +1045,9 @@ attributedStringForString(NSString *string, const CTFontRef font, BOOL useLigatu NSDictionary *attrs = [NSDictionary dictionaryWithObjectsAndKeys: (id)font, kCTFontAttributeName, // 2 - full ligatures including rare + // 1 - basic ligatures // 0 - no ligatures - [NSNumber numberWithInteger: (useLigatures) ? 2 : 0], kCTLigatureAttributeName, + [NSNumber numberWithInteger: (useLigatures) ? 1 : 0], kCTLigatureAttributeName, nil ];