]> git.eshelyaron.com Git - emacs.git/commitdiff
Add "Noto Color Emoji" to face-ignored-fonts
authorRobert Pluim <rpluim@gmail.com>
Wed, 13 Nov 2019 13:43:33 +0000 (14:43 +0100)
committerRobert Pluim <rpluim@gmail.com>
Wed, 13 Nov 2019 14:02:50 +0000 (15:02 +0100)
* src/xfaces.c (syms_of_xfaces) [HAVE_XFT]: Add "Noto Color Emoji" to
face-ignored-fonts (Bug#37786).

src/xfaces.c

index 67fa9e24b86a4743dba63a03c298f8f21d72c8df..d2dfbffe4e373587b223d74fe9cc90d44892b3cf 100644 (file)
@@ -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.