3.2 修改字体
查看当前使用字体名称、大小: emacs -> options -> Set Default Font -> “M-x describe-font” 在 .emacs 添加字体信息:
(set-default-font "-outline-Consolas-normal-r-normal-normal-16-120-96-96-c-*-iso8859-1") |
|---|
上面这种方法可以设置英文字体,中文字体如果不设置的特别难看,我在网上找到了下面这种配置方法:
;; Setting English Font |
|---|
(set-face-attribute |
|---|
'default nil :font "Consolas 12") |
|---|
;; Chinese Font |
|---|
(dolist (charset '(kana han symbol cjk-misc bopomofo)) |
|---|
(set-fontset-font (frame-parameter nil 'font) |
|---|
charset |
|---|
(font-spec :family "新宋体" :size 15))) |
|---|


