From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font Date: Sun, 20 Jul 2008 11:50:52 +1000 Organization: Rapt Technologies Message-ID: <87ljzx2uir.fsf@lion.rapttech.com.au> References: <4b75340e0807180959n6f27757bg4c6049d6c56f196e@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216521655 2684 80.91.229.12 (20 Jul 2008 02:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jul 2008 02:40:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 20 04:41:43 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KKOrm-000802-Mf for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Jul 2008 04:41:42 +0200 Original-Received: from localhost ([127.0.0.1]:33718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKOqt-0005wK-6x for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Jul 2008 22:40:47 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news.astraweb.com!border1.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:NKVnEGeMZuSaV0ApORz6WzQ1oTs= Original-Lines: 54 Original-NNTP-Posting-Host: 97963fac.news.astraweb.com Original-X-Trace: DXC=lbSd??O>d]; Original-Xref: news.stanford.edu gnu.emacs.help:160391 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55737 Archived-At: adamsonj@email.unc.edu (Joel J. Adamson) writes: > "Doctor Who" writes: > >> I'm trying to get emacs23 to use Bitstream Vera Sans Mono-8 as the >> font. When I try to invoke emacs like this: >> >> emacs --font "Bitstream Vera Sans Mono-8" >> >> I get the error: >> >> Font `Bitstream Vera Sans Mono-8' is not defined > > One way to do it: > ,----~/.Xdefaults > | > | !Emacs > | Emacs*font: -xos4-terminus-medium-*-normal-*-12-*-*-*-*-*-iso10646-1 > | Emacs*cursorColor: magenta > | Emacs*foreground: White > | Emacs*background: Black > | Emacs*borderwidth: 0 > | Emacs*bitmapIcon: on > | ! Lucid resources: > | Emacs.pane.menubar.font: -adobe-helvetica-medium-r-*-*-14-*-*-*-*-*-iso10646-1 > | Emacs*menu*fontSet: -adobe-helvetica-medium-r-*-*-14-*-*-*-*-*-iso10646-1 > | Emacs.dialog*.font: -adobe-helvetica-medium-r-*-*-14-*-*-*-*-*-iso10646-1 > | Emacs.dialog*.foreground: Black > | Emacs.dialog*.background: Gray > | Emacs.pane.menubar.foreground: Black > | Emacs.pane.menubar.background: Gray > `---- > > $ xrdb ~/.Xdefaults > > and open Emacs anew. > > Use xfontsel to find the name of the font that you want (where I have > terminus above). > > Another way is to customize the default face and put in the name of the > font under "Family." > Also, with CVS versions you can now select the font from the options menu and if you have built with GTK, it will use the GTK font selection widgets. Once you select your font, if you save your options, it will be saved in your .emacs for next time. Tim -- tcross (at) rapttech dot com dot au