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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202104071701.137H1F2m3650076%40masaka.moolenaar.net.

Raspunde prin e-mail lui