From: "Doctor Who" <whodoctor@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
Date: Sun, 20 Jul 2008 09:04:26 -0400 [thread overview]
Message-ID: <4b75340e0807200604y25c33f5bm562fa24aeda4d3f@mail.gmail.com> (raw)
In-Reply-To: <87hcal2e66.fsf@lion.rapttech.com.au>
On 7/20/08, Tim X <timx@nospam.dev.null> wrote:
> "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
>
Thanks. So I found the default font I want to use as the default in
the emacs editor window using fc-list:
Bitstream Vera Sans Mono:style=Roman
Now, how do I go about having emacs-23 use this font in the editor
window? Do I use ~/.Xresources or ~/Xdefaults. What is the correct
syntax for the file to use?
Thanks!
next prev parent reply other threads:[~2008-07-20 13:04 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
2008-07-20 13:04 ` Doctor Who [this message]
[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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4b75340e0807200604y25c33f5bm562fa24aeda4d3f@mail.gmail.com \
--to=whodoctor@gmail.com \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).