diff options
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el index 485b539..d9c3c05 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -57,11 +57,11 @@ '(variable-pitch ((t (:family "Noto Sans" :height 120)))) '(fixed-pitch ((t (:family "Noto Sans Mono" :height 120))))) -;; For some frustrating reason, emacs does not respect fontconfig font settings. What this means in practice is that emacs by default draws cjk characters with the korean variant. Luckily emacs has its own obscure and poorly documented way of doing things, so i can iterate over the relevant charsets and set the font specifically for those characters. +;; Use simplified not korean hanzi (dolist (charset '(han cjk-misc)) (set-fontset-font t charset (font-spec :family "Noto Sans CJK SC"))) -;; Similar to the above, we have to manually set the font we want to be used for emoji. I like the cute style of the emoji in fsd emoji, but it doesn't have very good coverage, so we also set noto emoji as the backup. Note that noto emoji is not the same as noto color emoji, which uses coloured emoji. That's clearly against the vibe of this emacs! +;; Prioritise fsd and noto emoji over coloured variants (set-fontset-font t 'emoji (font-spec :family "FSD Emoji") nil 'prepend) (set-fontset-font t 'emoji (font-spec :family "Noto Emoji") nil 'append) |