Bitstream Vera Sans Mono plus Microsoft YaHei
- Setting in ~/.Xdefaults
Emacs.Fontset-0:-*-bitstream vera sans mono-medium-r-*-*-16-*-*-*-*-*-fontset-bitstream
Emacs.font:fontset-bitstream - Load the setting
xrdb ~/.Xdefaults - Setting in ~/.emacs
(set-fontset-font
"fontset-default" nil
"-*-microsoft yahei-*-*-*-*-16-*-*-*-*-0-iso10646-1" nil 'prepend)
(set-fontset-font
"fontset-bitstream" 'kana
"-*-microsoft yahei-*-*-*-*-16-*-*-*-*-0-iso10646-1" nil 'prepend)
(set-fontset-font
"fontset-bitstream" 'han
"-*-microsoft yahei-*-*-*-*-16-*-*-*-*-0-iso10646-1" nil 'prepend)
(set-fontset-font
"fontset-bitstream" 'cjk-misc
"-*-microsoft yahei-*-*-*-*-16-*-*-*-*-0-iso10646-1" nil 'prepend)
Several commands which may be helpful
- sudo mkfontscale ; sudo mkfontdir; sudo fc-cache -fv
- (Emacs) M-x describle-char
check which char is using which font - xlsfonts
list X server fonts, for example, xlsfonts | grep bitstream
Reference
Microsoft YaHei Install: http://www.cukesoft.cn/blog/read.php?5
Bitstream Vera Mono: http://www.dafont.com/font.php?file=bitstream_vera_mono
Sans and Sans Serif: http://en.wikipedia.org/wiki/Sans-serif
No comments:
Post a Comment