comparison src/mbyte.c @ 24381:7b84cf514dd8 v8.2.2731

patch 8.2.2731: Mac: SF symbols are not displayed properly Commit: https://github.com/vim/vim/commit/8dddc1f0e2e9eeb29fc59477b515bcd6bb1243ec Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 7 19:00:25 2021 +0200 patch 8.2.2731: Mac: SF symbols are not displayed properly Problem: Mac: SF symbols are not displayed properly. Solution: Add custom range to list of double-width characters. (Yee Cheng Chin, closes #8077)
author Bram Moolenaar <Bram@vim.org>
date Wed, 07 Apr 2021 19:15:03 +0200
parents 35603c7991d7
children 7da496081b91
comparison
equal deleted inserted replaced
24380:bfe16ffe8ebf 24381:7b84cf514dd8
1543 {0x1f6cb, 0x1f6cf}, 1543 {0x1f6cb, 0x1f6cf},
1544 {0x1f6e0, 0x1f6e5}, 1544 {0x1f6e0, 0x1f6e5},
1545 {0x1f6e9, 0x1f6e9}, 1545 {0x1f6e9, 0x1f6e9},
1546 {0x1f6f0, 0x1f6f0}, 1546 {0x1f6f0, 0x1f6f0},
1547 {0x1f6f3, 0x1f6f3} 1547 {0x1f6f3, 0x1f6f3}
1548
1549 #ifdef MACOS_X
1550 // Include SF Symbols characters, which should be rendered as
1551 // double-width. All of them are in the Supplementary Private Use
1552 // Area-B range. The exact range was determined by downloading the "SF
1553 // Symbols" app from Apple, and then selecting all symbols, copying
1554 // them out, and inspecting the unicode values of them.
1555 , {0x100000, 0x100d7f}
1556 #endif
1548 }; 1557 };
1549 1558
1550 if (c >= 0x100) 1559 if (c >= 0x100)
1551 { 1560 {
1552 #if defined(FEAT_EVAL) || defined(USE_WCHAR_FUNCTIONS) 1561 #if defined(FEAT_EVAL) || defined(USE_WCHAR_FUNCTIONS)