微软雅黑

用了几天微软雅黑
现在在看Simsun,发觉非常不习惯
很淡很淡
即使是通过开启antialias使用了内嵌位图,也是一样的感觉
恐怕我是回不去了

刚刚了解到一个有关emacs 23的字体问题
其实仅仅用了这样的命令来启动是不够的
emacs --enable-font-backend -fn "Dejavu Sans Mono-12"
这样的话,非英文字体emacs还有可能用X核心字体
需要在~/.Xdefaults里加上这样一句才能保证emacs 23使用xft作为字体后端,仅仅启用字体后端是不够的。
Emacs.FontBackend: xft
这样一来,~/.emacs里就不需要任何配置字体的信息了
不过又发现一个问题,似乎emacs 23对~/.fonts.conf里的字体顺序反应迟钝?
gtk+2程序的反应是即时的,只需要关掉并重新启动程序
qt程序可以用qtconfig来改字体替换表
emacs 23却没辙了,想不起来还可以改什么?即使~/.fonts.conf里Simsun排在前面,也还是只能用Microsoft Yahei。

参考:
http://www.nabble.com/Xresource-of-enable-font-backend--t2349798.html
http://zhllg.spaces.live.com/blog/cns!956A48A2D7ED7265!1475.entry

Comments

Anonymous said…
可以通过.Xresources控制Xft属性,用.emacs选择中文字体。

Popular posts from this blog

The diff between the original SEC complaint against Ripple and the amended one

Rippled thread cpu usage

Send $SGB (Songbird) to another wallet using a script