2013-09-24 2 views
2

이맥스 24에서 c-x c- +와 c--를 사용하여 글꼴 크기를 변경할 수 없습니다.gentoo에 설치된 emacs 24에서 글꼴 크기를 설정하는 방법

한 번 입력하면 텍스트 영역 아래의 가로 막대는 (Emacs-Lisp +1 h1-p)이고 c- +를 더 누르면 + 기호 다음의 숫자가 증가합니다. 또한, 미니 바, 그것은

Use +,-,0 for further adjustment 

그러나, 텍스트 영역에서의 글꼴 크기를

도 내가 How to set the font size in Emacs?을 따라 모두가 그 중 하나를 작동하지 않는 것 같다에서 변경되지 않습니다 말한다. 이맥스 위키

, 그것은 http://www.emacswiki.org/emacs/SetFonts

내 이맥스 버전이

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 

덕분에 ... 중 세부 솔루션을 제공하지 않습니다!

답변

4

오케이, 마침내 문제가 해결되었습니다. 컴파일 중 누락 된 플래그 때문입니다. 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 

을 추가 한 다음 & 빌드 이맥스를 다시 컴파일.

마침내 우리는

$ ldd `which emacs` | grep libXft 
libXft.so.2 => /usr/lib64/libXft.so.2 (0x00007f9c1eed6000)