我通過手動編輯的.emacs自定義設置的面孔解決了這個問題:
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(blink-cursor-mode nil)
'(default-frame-alist (quote ((menu-bar-lines . 1) (vertical-scroll-bars . right) (tool-bar-lines . 0))))
'(scroll-bar-mode (quote right))
'(show-paren-mode t)
'(tool-bar-mode nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :stipple nil :background "#f0f0f0" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :style "Regular" :slant normal :weight normal :width normal :foundry "misc" :family "fixed" :height 130)))))
Emacs是使用fc-list的約定來選擇字體。然而,shift-B1菜單僅顯示本地計算機上可用的字體,而不是在X服務器上可用的字體。這種不匹配可能是問題開始的地方。在我的情況下,從emacs菜單中選擇默認字體實際上並沒有改變我的.emacs設置。
另外我試圖在.emacs代碼中設置像素大小來改變字體大小,但是唯一工作的fc-list參數是高度。當然,每個高度值在75dpi和100dpi服務器設置上看起來都不一樣。