To: vim_dev@googlegroups.com Subject: Patch 8.2.2731 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2731 Problem: Mac: SF symbols are not displayed properly. Solution: Add custom range to list of double-width characters. (Yee Cheng Chin, closes #8077) Files: src/mbyte.c *** ../vim-8.2.2730/src/mbyte.c 2021-03-27 18:59:21.863043173 +0100 --- src/mbyte.c 2021-04-07 18:58:37.008924497 +0200 *************** *** 1545,1550 **** --- 1545,1559 ---- {0x1f6e9, 0x1f6e9}, {0x1f6f0, 0x1f6f0}, {0x1f6f3, 0x1f6f3} + + #ifdef MACOS_X + // Include SF Symbols characters, which should be rendered as + // double-width. All of them are in the Supplementary Private Use + // Area-B range. The exact range was determined by downloading the "SF + // Symbols" app from Apple, and then selecting all symbols, copying + // them out, and inspecting the unicode values of them. + , {0x100000, 0x100d7f} + #endif }; if (c >= 0x100) *** ../vim-8.2.2730/src/version.c 2021-04-06 21:29:28.928203312 +0200 --- src/version.c 2021-04-07 19:00:07.312702632 +0200 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2731, /**/ -- hundred-and-one symptoms of being an internet addict: 83. Batteries in the TV remote now last for months. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///