From eae50e88ef80a000f87954813b4b4cb8c8a1bb17 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Wed, 13 Nov 2019 14:43:33 +0100 Subject: [PATCH] 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 67fa9e24b86..d2dfbffe4e3 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. -- 2.39.5