Skip to content

Commit 201c6b7

Browse files
author
René Köcher
committed
Fall back to basic ligatures(1) not full(2).
1 parent 91152d1 commit 201c6b7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/MacVim/MMCoreTextView.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,8 +1045,9 @@ - (void)batchDrawData:(NSData *)data
10451045
NSDictionary *attrs = [NSDictionary dictionaryWithObjectsAndKeys:
10461046
(id)font, kCTFontAttributeName,
10471047
// 2 - full ligatures including rare
1048+
// 1 - basic ligatures
10481049
// 0 - no ligatures
1049-
[NSNumber numberWithInteger: (useLigatures) ? 2 : 0], kCTLigatureAttributeName,
1050+
[NSNumber numberWithInteger: (useLigatures) ? 1 : 0], kCTLigatureAttributeName,
10501051
nil
10511052
];
10521053

0 commit comments

Comments
 (0)