emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entering emojis


From: Robert Pluim
Subject: Re: Entering emojis
Date: Wed, 27 Oct 2021 15:26:29 +0200

>>>>> On Wed, 27 Oct 2021 15:09:44 +0200, Lars Ingebrigtsen <larsi@gnus.org> 
>>>>> said:

    Lars> Robert Pluim <rpluim@gmail.com> writes:
    >> Iʼd push it to emacs-28, but I have no idea of the repercussions.

    Lars> Try pushing it to master, at least -- if nobody reports problems, we 
can
    Lars> consider cherry-picking it for emacs-28.

Sure. Eli?

commit d3c78393b1
Author:     Robert Pluim <rpluim@gmail.com>
AuthorDate: Wed Oct 27 15:24:48 2021 +0200
Commit:     Robert Pluim <rpluim@gmail.com>
CommitDate: Wed Oct 27 15:24:48 2021 +0200

    Don't skip color fonts on macOS
    
    This allows emoji to be displayed using a Color Emoji font without
    the user having to use 'set-fontset-font'.
    
    * src/macfont.m (macfont_list): Don't skip color fonts.

diff --git a/src/macfont.m b/src/macfont.m
index d86f09f485..4291375f3c 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -2414,11 +2414,6 @@ So we use CTFontDescriptorCreateMatchingFontDescriptor 
(no
                   != (spacing >= FONT_SPACING_MONO)))
             continue;
 
-          /* Don't use a color bitmap font unless its family is
-             explicitly specified.  */
-          if ((sym_traits & kCTFontTraitColorGlyphs) && NILP (family))
-            continue;
-
           if (j > 0
               && !macfont_supports_charset_and_languages_p (desc, charset,
                                                             chars, languages))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]