summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa2024-09-18 09:14:03 +0800
committernoa2024-09-18 09:14:03 +0800
commite0ceb7a2f8e06dd268ba4600a3abe5cd150d9a59 (patch)
tree9f08f6d85749031ac6d73fb41d0473b3c01ed93d /emacs
parent41a0748140c583174773b53b4907fba1742a4219 (diff)
Simplify font selection comments
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el4
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)