我发现emacs 24不能使用cx c-和c--来更改字体大小。
一旦我输入cx c- +,文本区域下方的水平条就会显示(Emacs-Lisp +1 h1-p),如果我再按c- +,则+符号后面的数字会增加。也在迷你吧里,它说
Use +,-,0 for further adjustment
但是,文本区域中的字体大小完全不变
我也遵循了如何在Emacs中设置字体大小?,这似乎也不起作用。
在emacs Wiki中,它也没有提供详细的解决方案... http://www.emacswiki.org/emacs/SetFonts
我的emacs版本是
GNU Emacs 24.3.1
Copyright (C) 2013 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
和系统
Linux mybox 3.10.7-gentoo #1 SMP Mon Sep 2 16:48:35 Local time zone must be set--see zic m x86_64 AMD E-450 APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux
提前致谢!
好的,我终于解决了问题,这是由于编译期间缺少标志。基于http://wiki.gentoo.org/wiki/Project:Emacs/GNU_Emacs_developer_guide
gconf Use gconf to read the system font name (Emacs 23 and above).
gsettings Use gsettings (glib) to read the system font name (Emacs 24 and above).
gconf Use gconf to read the system font name (Emacs 23 and above).
但未将它们启用为默认编译。
所以我加
echo 'app-editors/emacs xft gsettings gconf' >> /etc/portage/package.use
然后重新编译并构建emacs。
终于我们有了
$ ldd `which emacs` | grep libXft
libXft.so.2 => /usr/lib64/libXft.so.2 (0x00007f9c1eed6000)
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句