Last active
May 16, 2020 07:20
-
-
Save TakesxiSximada/b144e46f76cd63a837380c3a6dbed8c3 to your computer and use it in GitHub Desktop.
Emacsのfontサイズを変更して大きくした
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
フォントサイズを変更した。 | |
変更前 | |
``` | |
(set-face-attribute 'default nil :family "Menlo" :height 120) | |
``` | |
変更後 | |
``` | |
(set-face-attribute 'default nil :family "Menlo" :height 240) | |
``` | |
** フォントの設定全体 | |
``` | |
(set-face-attribute 'default nil :family "Menlo" :height 240) | |
(let ((typ (frame-parameter nil 'font))) | |
(unless (string-equal "tty" typ) | |
(set-fontset-font typ 'japanese-jisx0208 | |
(font-spec :family "Hiragino Kaku Gothic ProN")))) | |
(add-to-list 'face-font-rescale-alist | |
'(".*Hiragino Kaku Gothic ProN.*" . 1.2)) | |
``` | |
** 確認したとこ | |
- [x] 起動時にフォントサイズが設定されること | |
- [x] org-modeの表の中にマルチバイト文字列(日本語)が含まれた時にレイアウトが崩れないこと |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment