diff options
Diffstat (limited to 'emacs/init.el')
| -rw-r--r-- | emacs/init.el | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/emacs/init.el b/emacs/init.el index 071e0ba..093f79c 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -39,17 +39,18 @@   '(fixed-pitch ((t (:family "Noto Sans Mono" :height 120))))   ) +;; Previously, i used a heavily modified version of [[https://github.com/cstby/fixed-pitch-mode][fixed pitch mode]] to use a variable pitch font by default, and switch to monospace when necessary.  However, i have revised that decision, as my list of exceptions kept getting longer, and emacs has a variable pitch mode built in, which does the opposite.  (use-package face-remap    :hook    ((text-mode . variable-pitch-mode)     (prog-mode . variable-pitch-mode))) -;; Use simplified not korean hanzi +;; I also noticed problems with hanzi being displayed in emacs as their Korean variants.  I read simplified chinese, so i want to ensure that han characters are displayed using a font designed for simplified chinese.  (when (display-graphic-p)    (dolist (charset '(han cjk-misc))      (set-fontset-font t charset (font-spec :family "Noto Serif CJK SC")))) -;; Prioritise fsd and noto emoji over coloured variants +;; In a similar vein, i want to set my preferred emoji fonts.  The default noto fonts have coloured emojis, but there is a separate font which has monochrome emojis, and i also set the [[https://fsd.it/shop/fonts/fsd-emoji/][FSD emoji]] font to be used whenever it has a supported emoji.  (when (and (display-graphic-p)             (member "FSD Emoji" (font-family-list)))    (set-fontset-font t 'emoji (font-spec :family "FSD Emoji") nil 'prepend)) | 
