Improve 'set-fontset-font' documentation
* doc/emacs/mule.texi (Modifying Fontsets): Add an 'emoji' example.
This commit is contained in:
parent
7de4dbea08
commit
c38d5cc3b2
1 changed files with 10 additions and 0 deletions
|
@ -1657,6 +1657,16 @@ used. Some examples are:
|
|||
'han (font-spec :registry "big5")
|
||||
nil 'prepend)
|
||||
|
||||
@cindex emoji font
|
||||
;; Use "Noto Color Emoji" for the emoji script (this is the default).
|
||||
(set-fontset-font "fontset-default" 'emoji
|
||||
'("Noto Color Emoji" . "iso10646-1")
|
||||
nil 'prepend)
|
||||
|
||||
;; Display the "heart" character using a color font.
|
||||
(set-fontset-font "fontset-default"
|
||||
#x2764 "Noto Color Emoji")
|
||||
|
||||
;; Use MyPrivateFont for the Unicode private use area.
|
||||
(set-fontset-font "fontset-default" '(#xe000 . #xf8ff)
|
||||
"MyPrivateFont")
|
||||
|
|
Loading…
Add table
Reference in a new issue