help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font


From: Tim X
Subject: Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
Date: Sun, 20 Jul 2008 11:50:52 +1000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

adamsonj@email.unc.edu (Joel J. Adamson) writes:

> "Doctor Who" <whodoctor@gmail.com> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]