Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font         


Author: Doctor Who
Date: Jul 19, 2008 14:17

On 7/19/08, Joel J. Adamson email.unc.edu> wrote:
> "Doctor Who" 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 ...
Show full article (1.78Kb)
8 Comments
Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font         


Author: Tim X
Date: Jul 20, 2008 00:44

"Doctor Who" gmail.com> writes:
> On 7/19/08, Joel J. Adamson email.unc.edu> wrote:
>> "Doctor Who" gmail.com> writes:
>>
>>> I'm trying to get emacs23 to use Bitstream Vera Sans Mono-8 as the
>>> font. When I try...
Show full article (2.36Kb)
no comments
Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font         


Author: Doctor Who
Date: Jul 20, 2008 06:04

On 7/20/08, Tim X wrote:
> "Doctor Who" gmail.com> writes:
>
>> On 7/19/08, Joel J. Adamson email.unc.edu> wrote:
>>> "Doctor Who" 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 ...
Show full article (2.78Kb)
no comments
Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font         


Author: Dan Espen
Date: Jul 20, 2008 07:46

"Doctor Who" gmail.com> writes:
> 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?

Those are exclamation marks.
They indicate commented out lines.

When setting X resources, another useful command
is appres.

The command:

appres Emacs

will show all the current X resources that match "Emacs".

Note:

I don't have Emacs-gtk installed.
Normally gtk programs don't pay any attention to X Resources.
I think you might have more success using the menu bar dialogs.
no comments
Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font         


Author: Doctor Who
Date: Jul 20, 2008 11:15

On 7/20/08, Dan Espen more.mk.spamtelcordia.com> wrote:
> "Doctor Who" gmail.com> writes:
>
>> 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?
>
> Those are exclamation marks.
> They indicate commented out lines.
>
> When setting X resources, another useful command
> is appres.
>
>
> The command:
>
> appres Emacs
> ...
Show full article (1.34Kb)
no comments
Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font         


Author: Dan Espen
Date: Jul 20, 2008 12:00

"Doctor Who" gmail.com> writes:
> On 7/20/08, Dan Espen more.mk.spamtelcordia.com> wrote:
>> "Doctor Who" gmail.com> writes:
>>
>>> Thanks. A couple of questions:
>>>
>>> 1) If I use the example .Xdefaults like you...
Show full article (1.65Kb)
no comments
Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font         


Author: Joel J. Adamson
Date: Jul 20, 2008 13:24

Dan Espen MORE.mk.SPAMtelcordia.com> writes:
> "Doctor Who" gmail.com> writes:
>
>> 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?
>
> Those are exclamation marks.

He might have been referring to the marks at the very beginning, which
are the selection indicators of boxquote.el.
> I think you might have more success using the menu bar dialogs.

Emacs does for background color, foreground color, font and a few other
attributes. Emacs is not a "GTK app" in the same sense as Epiphany or
Evince.

Joel
Show full article (0.82Kb)
no comments
Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font         


Author: Tim X
Date: Jul 21, 2008 00:37

"Doctor Who" gmail.com> writes:
>
> 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?
>
Your options are -

emacs -fn "Bitstream Vera Sans Mono-12" # for a 12pt font.

Add it to .Xresources as the line

Emacs.font: Bitstream Vera Sans Mono

or just use the select default font from the options menu.

Tim

--
tcross (at) rapttech dot com dot au
no comments
Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font         


Author: Tim X
Date: Jul 21, 2008 00:45

adamsonj@email.unc.edu (Joel J. Adamson) writes:
Show full article (1.09Kb)
no comments