mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
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")
|
'han (font-spec :registry "big5")
|
||||||
nil 'prepend)
|
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.
|
;; Use MyPrivateFont for the Unicode private use area.
|
||||||
(set-fontset-font "fontset-default" '(#xe000 . #xf8ff)
|
(set-fontset-font "fontset-default" '(#xe000 . #xf8ff)
|
||||||
"MyPrivateFont")
|
"MyPrivateFont")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue