|
发表于 2006-9-26 18:23:08
|
显示全部楼层
hua@vgh:de_dustyciti$ cat ~/.emacs
[php]
(prefer-coding-system 'utf-8)
(create-fontset-from-fontset-spec
"-*-fixed-medium-r-normal-*-13-*-*-*-c-*-fontset-wenq,
chinese-gb2312:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
chinese-big5-1:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
chinese-big5-2:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
chinese-sisheng:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1, chinese-cns11643-3:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
chinese-cns11643-4:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
chinese-cns11643-5:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
chinese-cns11643-6:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
chinese-cns11643-7:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
japanese-jisx0208-1978:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
japanese-jisx0208:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
japanese-jisx0212:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
japanese-jisx0213-1:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
japanese-jisx0213-2:-wenquanyi-wenquanyi bitmap song-medium-r-normal--15-150-75-75-p-80-iso10646-1,
"
)
(set-default-font "fontset-wenq")
;;这个函数确保新建一个frame的时候字体也是正确设置的
(add-to-list 'after-make-frame-functions
(lambda (new-frame) (select-frame new-frame)
(set-default-font "fontset-wenq")))
[/php] |
|