Patch 9.0.0842
Problem:    Unicode range for Apple SF symbols is outdated.
Solution:   Update to SF Symbols 4. (Yee Cheng Chin, closes #11474)
Files:      src/mbyte.c


*** ../vim-9.0.0841/src/mbyte.c 2022-10-05 18:02:51.600571408 +0100
--- src/mbyte.c 2022-11-07 11:03:10.865238151 +0000
***************
*** 1565,1576 ****
        {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
      };
  
--- 1565,1591 ----
        {0x1f6f3, 0x1f6f3}
  
  #ifdef MACOS_X
!       // Include SF Symbols 4 characters, which should be rendered as
!       // double-width.  SF Symbols is an Apple-specific set of symbols and
!       // icons for use in Apple operating systems.  They are included as
!       // glyphs as part of the default San Francisco fonts shipped with
!       // macOS.  The current version is SF Symbols 4.
!       //
!       // These Apple-specific glyphs are not part of standard Unicode, and
!       // all of them are in the Supplementary Private Use Area-B range. The
!       // exact range was determined by downloading the 'SF Symbols 4' app
!       // from Apple (https://developer.apple.com/sf-symbols/), and then
!       // selecting all symbols, copying them out, and inspecting the unicode
!       // values of them.
!       //
!       // Note that these symbols are of varying widths, as they are symbols
!       // representing differents things ranging from a simple gear icon to an
!       // airplane. Some of them are in fact wider than double-width, but Vim
!       // doesn't support non-fixed-width font, and tagging them as
!       // double-width is the best way to handle them.
!       //
!       // Also see 
https://en.wikipedia.org/wiki/San_Francisco_(sans-serif_typeface)#SF_Symbols
!       , {0x100000, 0x1018c7}
  #endif
      };
  
*** ../vim-9.0.0841/src/version.c       2022-11-06 22:25:59.111977620 +0000
--- src/version.c       2022-11-07 11:05:18.237218695 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     842,
  /**/

-- 
One difference between a man and a machine is that a machine is quiet
when well oiled.

 /// 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/20221107110651.1C81A1C0739%40moolenaar.net.

Raspunde prin e-mail lui