Support Noto Emoji font as fallback
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.
This commit is contained in:
parent
8238d87e15
commit
94380420e2
1 changed files with 5 additions and 1 deletions
|
@ -982,7 +982,11 @@
|
|||
(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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue