我正在尝试设置Consolas
字体emacs
。我用构建了 emacs--configure --with-xft
并输入:
Emacs.font: Consolas-16
Emacs.fontBackend: xf
到.xsession
但是当我尝试启动 emacs 时出现此错误:
Font `Consolas-16' is not defined
我该如何修复它?
答案1
解决了问题:
sudo apt-get install build-essential texinfo libx11-dev libxpm-dev libjpeg-dev libpng-dev libgif-dev libtiff-dev libgtk2.0-dev libncurses-dev
./configure --with-dbus --with-toolkit-scroll-bars --with-xft --with-xpm --with-jpeg --with-tiff --with-gif --with-libotf --with-xim --with-gconf --with-gnutls