发现网上很多方法试下来都有很多问题,最后终于找到了个比较好的方法,贴在这里备忘:
; ~/.emacs
(set-default-font "Consolas")
(set-fontset-font "fontset-default" 'chinese-gbk "微软雅黑")
(setq face-font-rescale-alist '(("宋体" . 1.2)
("微软雅黑" . 1.1)
))
1
zix 2016-01-13 09:44:05 +08:00
```
;;;; FONTS (set-language-environment 'UTF-8) (set-locale-environment "UTF-8") (set-default-font "Dejavu Sans Mono 10") (if (and (fboundp 'daemonp) (daemonp)) (add-hook 'after-make-frame-functions (lambda (frame) (with-selected-frame frame (set-fontset-font "fontset-default" 'unicode "WenQuanyi Micro Hei Mono 12")))) (set-fontset-font "fontset-default" 'unicode "WenQuanYi Micro Hei Mono 12")) ``` |
2
zix 2016-01-13 09:45:06 +08:00
orz V2EX 的 markdown 要怎么写
|