diff options
-rw-r--r-- | config.org | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/config.org b/config.org index a32dd9d..52dd954 100644 --- a/config.org +++ b/config.org @@ -146,9 +146,10 @@ My current favourite font is sn pro, which feels like comic sans for grown ups. #+begin_src elisp (custom-set-faces - '(fixed-pitch ((t (:family "Comic Mono" :height 125)))) - ;; '(variable-pitch ((t (:family "SN Pro" :height 110)))) - '(variable-pitch ((t (:family "Comic Sans MS" :height 110))))) + '(fixed-pitch ((t (:family "Noto Sans Mono" :height 110)))) + '(variable-pitch ((t (:family "Noto Sans" :height 110)))) + ;; '(variable-pitch ((t (:family "Comic Sans MS" :height 110)))) + ) #+end_src 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. @@ -156,10 +157,6 @@ For some frustrating reason, emacs does not respect fontconfig font settings. W #+begin_src elisp (dolist (charset '(han cjk-misc)) (set-fontset-font t charset (font-spec :family "Noto Sans CJK SC"))) - - ;; This font is traditional... - (dolist (charset '(han cjk-misc)) - (set-fontset-font t charset (font-spec :family "HanWang KaiBold-Gb5"))) #+end_src 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! |