Skip to content

Instantly share code, notes, and snippets.

@ssugiyama
Created July 19, 2014 04:37
Show Gist options
  • Save ssugiyama/3b765c42adec5b70c8d5 to your computer and use it in GitHub Desktop.
Save ssugiyama/3b765c42adec5b70c8d5 to your computer and use it in GitHub Desktop.
emacs で Source Code Pro と Noto Sans Japanese を組み合わせて使う設定
(when window-system
(create-fontset-from-ascii-font
"Source Code Pro-12:weight=normal:slant=normal" nil "sourcecodepronoto")
(set-fontset-font "fontset-sourcecodepronoto"
'unicode
(font-spec :family "Noto Sans Japanese" :size 14)
nil
'append)
(add-to-list 'default-frame-alist '(font . "fontset-sourcecodepronoto"))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment