Skip to content

Instantly share code, notes, and snippets.

@q3yi
Created August 12, 2021 07:27
Show Gist options
  • Save q3yi/55d1e13a48d117e93ec9f57c59590dc7 to your computer and use it in GitHub Desktop.
Save q3yi/55d1e13a48d117e93ec9f57c59590dc7 to your computer and use it in GitHub Desktop.
set-emacs-font
(let ((default-font (font-spec :name "Ubuntu Mono" :size 15))
(cn-font (font-spec :name "Sarasa Mono SC")))
(set-frame-font default-font)
(dolist (charset '(kana han symbol cjk-misc bopomofo))
(set-fontset-font t charset cn-font)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment