我想在集群上的emacs中使用DejaVu字体--而且我没有权限在系统范围内安装字体。我把字体(它们是免费的)放在~/.fonts中。我想使用DejaVuSansMono.ttf。通常我只需放入.emacs:
(custom-set-variables
'(default ((t (:inherit nil :stipple nil :background "#ffffb1" :foreground "#141312" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 173 :width normal :foundry "monotype" :family "DejaVu Sans Mono")))))但是现在emacs找不到字体了!
所以我的问题是-我如何帮助emacs找到字体?如何指定字体的路径?
发布于 2011-11-27 23:29:45
看起来bdf-directory-list会解决这个问题。
(setq bdf-directory-list '("/path/to/fonts"))我现在不能试--稍后再来。
https://stackoverflow.com/questions/8052503
复制相似问题