The black-and-white emoji font is back under active development,
see https://github.com/googlefonts/noto-emoji. So this adds
that font as fallback for systems that don't have the capability
of using color fonts.
* lisp/international/fontset.el (setup-default-fontset): Support
black-and-white Noto Emoji font as fallback for Emoji display.
(set-fontset-font "fontset-default" symbol-subgroup
"-*-fixed-medium-*-*-*-*-*-*-*-*-*-iso10646-1"
nil 'prepend))
- ;; This sets up the Emoji codepoints to use prettier fonts.
+ ;; This sets up the Emoji codepoints to use prettier fonts:
+ ;; this is fallback, if they don't have color Emoji capabilities...
+ (set-fontset-font "fontset-default" 'emoji
+ '("Noto Emoji" . "iso10646-1") nil 'prepend)
+ ;; ...and this is if they do
(set-fontset-font "fontset-default" 'emoji
'("Noto Color Emoji" . "iso10646-1") nil 'prepend)