all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
Date: Sun, 20 Jul 2008 17:44:01 +1000	[thread overview]
Message-ID: <87hcal2e66.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.15061.1216536046.18990.help-gnu-emacs@gnu.org

"Doctor Who" <whodoctor@gmail.com> writes:

> On 7/19/08, Joel J. Adamson <adamsonj@email.unc.edu> wrote:
>> "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."
>>
>> Joel
>
>
> Thanks.  A couple of questions:
>
> 1)  If I use the example .Xdefaults like you listed above, are the
> pipe symbols (|} included at the beginning of several lines to be
> included as well?
>
> 2)  Apparently I'm not familiar with the xfonsel command enough to get
> the desired output I want.  I'm trying to use Bitstream Vera Sans-8 as
> the default font for the emacs editor window.  Running 'xfontsel
> -pattern Bitstream' does not give any results (that I can see).
>

The correct command is xfontsel. Start it up and select Bitstream from
the family and then work forward. However.....

I'm not sure xfontsel is still a good way to select fonts now we have
support for freetype, xft etc. At one time, xfontsel was unable to deal
with things like true type fonts and antialiased fonts etc. 

Try using the fc-* family of font manipulation commands, such as
fc-match and fc-list. See the man pages. 

Tim

-- 
tcross (at) rapttech dot com dot au


  parent reply	other threads:[~2008-07-20  7:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18 16:59 Getting emacs23 to use Bitstream Vera Sans Mono-8 font Doctor Who
2008-07-19 18:37 ` Joel J. Adamson
2008-07-19 21:17   ` Doctor Who
     [not found]   ` <mailman.15061.1216536046.18990.help-gnu-emacs@gnu.org>
2008-07-20  7:44     ` Tim X [this message]
2008-07-20 13:04       ` Doctor Who
     [not found]       ` <mailman.15066.1216559074.18990.help-gnu-emacs@gnu.org>
2008-07-21  7:37         ` Tim X
2008-07-20 14:46     ` Dan Espen
2008-07-20 18:15       ` Doctor Who
     [not found]       ` <mailman.15076.1216577712.18990.help-gnu-emacs@gnu.org>
2008-07-20 19:00         ` Dan Espen
2008-07-20 20:24       ` Joel J. Adamson
     [not found]       ` <mailman.15085.1216585747.18990.help-gnu-emacs@gnu.org>
2008-07-21  7:45         ` Tim X
     [not found] ` <mailman.15050.1216492932.18990.help-gnu-emacs@gnu.org>
2008-07-20  1:50   ` Tim X
     [not found] <mailman.15015.1216429293.18990.help-gnu-emacs@gnu.org>
2008-07-19 18:39 ` Wolfgang Zweimueller
2008-07-20 12:58   ` Doctor Who
     [not found]   ` <mailman.15064.1216558688.18990.help-gnu-emacs@gnu.org>
2008-07-21  7:40     ` Tim X

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hcal2e66.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.