6
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Emacsで日本語フォントを個別設定

Posted at

Screenshot_2016-12-05_10-40-27.png

今の所の最適解。
日本語とそれ以外でフォントを分ける設定。

init.el
;; Basic font
(custom-set-faces
 '(default ((t (
                :foundry "Source Code Pro" :family "Source Code Pro")))))

;; Japanese font
(set-fontset-font t 'japanese-jisx0208 (font-spec :family "IPAExGothic"))

もともと日本語も良い感じに表示されていたのに、
OS再インストールしたら日本語が明朝体で表示されるように変わってしまった。

そのため上記設定を適用したら、いい感じになった。

6
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?