diff options
| author | Robert Pluim | 2024-04-19 15:16:34 +0200 |
|---|---|---|
| committer | Robert Pluim | 2024-07-10 16:08:29 +0200 |
| commit | c38d5cc3b280394bbbb9b579cbc82455077ac9b1 (patch) | |
| tree | 051c4e6621123cbdad55ed24483c467ce8338416 /doc | |
| parent | 7de4dbea08f43bcbcfa0f6103356ed444af1a2c3 (diff) | |
| download | emacs-c38d5cc3b280394bbbb9b579cbc82455077ac9b1.tar.gz emacs-c38d5cc3b280394bbbb9b579cbc82455077ac9b1.zip | |
Improve 'set-fontset-font' documentation
* doc/emacs/mule.texi (Modifying Fontsets): Add an 'emoji' example.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/mule.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index 55dd74c48a3..8b16c661a7e 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi | |||
| @@ -1657,6 +1657,16 @@ used. Some examples are: | |||
| 1657 | 'han (font-spec :registry "big5") | 1657 | 'han (font-spec :registry "big5") |
| 1658 | nil 'prepend) | 1658 | nil 'prepend) |
| 1659 | 1659 | ||
| 1660 | @cindex emoji font | ||
| 1661 | ;; Use "Noto Color Emoji" for the emoji script (this is the default). | ||
| 1662 | (set-fontset-font "fontset-default" 'emoji | ||
| 1663 | '("Noto Color Emoji" . "iso10646-1") | ||
| 1664 | nil 'prepend) | ||
| 1665 | |||
| 1666 | ;; Display the "heart" character using a color font. | ||
| 1667 | (set-fontset-font "fontset-default" | ||
| 1668 | #x2764 "Noto Color Emoji") | ||
| 1669 | |||
| 1660 | ;; Use MyPrivateFont for the Unicode private use area. | 1670 | ;; Use MyPrivateFont for the Unicode private use area. |
| 1661 | (set-fontset-font "fontset-default" '(#xe000 . #xf8ff) | 1671 | (set-fontset-font "fontset-default" '(#xe000 . #xf8ff) |
| 1662 | "MyPrivateFont") | 1672 | "MyPrivateFont") |