summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-07-27 07:27:35 +0000
committernoa@gaiwan.org2024-07-27 07:27:35 +0000
commit24a5fd2711bfa16d55ec437d81d896b2fa8ef400 (patch)
tree1a2af95f4ab23c7f121e8a89a4f25c9772a954ed
parentd455c5673daa1c924ea5949e0ba74f247397d934 (diff)
Use noto fonts everywhere
-rw-r--r--config.org11
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!