|
From: | Marc Tfardy |
Subject: | Re: How to set font for emacs |
Date: | Sat, 04 Jul 2009 10:20:27 +0200 |
User-agent: | Thunderbird 2.0.0.22 (Windows/20090605) |
n179911 schrieb:
Hi, I have added the following in my .emacs (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. '(autoface-default ((t (:inherit default :strike-through nil :underline nil :sl ant normal :weight normal :height 130 :width normal :family "inconsolata")))) ) But when I start emacs (open in my xterm, not a separate window), it does not load the new font I specified. Can you please tell me how to fix my problem?
I assume you start Emacs with "emacs -nw". So, this is absolutely correct behaviour. In this case you must set fonts for xterm. You can do this interactively for current session with SHIFT+right mouse button (or middle mouse button, I can't remember) or permanently in your .Xresources with: xterm*font: FONT-DEFINITON-STRING or XTerm*font: FONT-DEFINITON-STRING regards Marc
[Prev in Thread] | Current Thread | [Next in Thread] |