emacs-diffs
[Top][All Lists]
Advanced

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

master eae50e8: Add "Noto Color Emoji" to face-ignored-fonts


From: Robert Pluim
Subject: master eae50e8: Add "Noto Color Emoji" to face-ignored-fonts
Date: Wed, 13 Nov 2019 09:03:18 -0500 (EST)

branch: master
commit eae50e88ef80a000f87954813b4b4cb8c8a1bb17
Author: Robert Pluim <address@hidden>
Commit: Robert Pluim <address@hidden>

    Add "Noto Color Emoji" to face-ignored-fonts
    
    * src/xfaces.c (syms_of_xfaces) [HAVE_XFT]: Add "Noto Color Emoji" to
    face-ignored-fonts (Bug#37786).
---
 src/xfaces.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/xfaces.c b/src/xfaces.c
index 67fa9e2..d2dfbff 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -6776,12 +6776,16 @@ other font of the appropriate family and registry is 
available.  */);
               doc: /* List of ignored fonts.
 Each element is a regular expression that matches names of fonts to
 ignore.  */);
-#ifdef HAVE_OTF_KANNADA_BUG
-  /* https://debbugs.gnu.org/30193  */
-  Vface_ignored_fonts = list1 (build_string ("Noto Serif Kannada"));
+#ifdef HAVE_XFT
+  /* Bug#37786.  */
+  Vface_ignored_fonts = list1 (build_string ("Noto Color Emoji"));
 #else
   Vface_ignored_fonts = Qnil;
 #endif
+#ifdef HAVE_OTF_KANNADA_BUG
+  /* https://debbugs.gnu.org/30193  */
+  Vface_ignored_fonts = Fcons (build_string ("Noto Serif Kannada"), 
Vface_ignored_fonts);
+#endif
 
   DEFVAR_LISP ("face-remapping-alist", Vface_remapping_alist,
               doc: /* Alist of face remappings.



reply via email to

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