* Getting emacs23 to use Bitstream Vera Sans Mono-8 font
@ 2008-07-18 16:59 Doctor Who
2008-07-19 18:37 ` Joel J. Adamson
[not found] ` <mailman.15050.1216492932.18990.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 15+ messages in thread
From: Doctor Who @ 2008-07-18 16:59 UTC (permalink / raw)
To: help-gnu-emacs
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
What is the proper way to get emacs23 using this font (which is
installed). Preferably, I would like to make this permanent and not
have to invoke emacs in such a way each time.
Thanks for your response!
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
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>
[not found] ` <mailman.15050.1216492932.18990.help-gnu-emacs@gnu.org>
1 sibling, 2 replies; 15+ messages in thread
From: Joel J. Adamson @ 2008-07-19 18:37 UTC (permalink / raw)
To: Doctor Who; +Cc: help-gnu-emacs
"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
--
Joel J. Adamson
(303) 880-3109
Public key: http://pgp.mit.edu
http://www.unc.edu/~adamsonj
http://trashbird1240.blogspot.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
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>
1 sibling, 0 replies; 15+ messages in thread
From: Doctor Who @ 2008-07-19 21:17 UTC (permalink / raw)
To: Joel J. Adamson; +Cc: help-gnu-emacs
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).
Thanks!
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <mailman.15061.1216536046.18990.help-gnu-emacs@gnu.org>]
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
[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
[not found] ` <mailman.15066.1216559074.18990.help-gnu-emacs@gnu.org>
2008-07-20 14:46 ` Dan Espen
1 sibling, 2 replies; 15+ messages in thread
From: Tim X @ 2008-07-20 7:44 UTC (permalink / raw)
To: help-gnu-emacs
"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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
2008-07-20 7:44 ` Tim X
@ 2008-07-20 13:04 ` Doctor Who
[not found] ` <mailman.15066.1216559074.18990.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 15+ messages in thread
From: Doctor Who @ 2008-07-20 13:04 UTC (permalink / raw)
To: help-gnu-emacs
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!
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <mailman.15066.1216559074.18990.help-gnu-emacs@gnu.org>]
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
[not found] ` <mailman.15066.1216559074.18990.help-gnu-emacs@gnu.org>
@ 2008-07-21 7:37 ` Tim X
0 siblings, 0 replies; 15+ messages in thread
From: Tim X @ 2008-07-21 7:37 UTC (permalink / raw)
To: help-gnu-emacs
"Doctor Who" <whodoctor@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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
[not found] ` <mailman.15061.1216536046.18990.help-gnu-emacs@gnu.org>
2008-07-20 7:44 ` Tim X
@ 2008-07-20 14:46 ` Dan Espen
2008-07-20 18:15 ` Doctor Who
` (3 more replies)
1 sibling, 4 replies; 15+ messages in thread
From: Dan Espen @ 2008-07-20 14:46 UTC (permalink / raw)
To: help-gnu-emacs
"Doctor Who" <whodoctor@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.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
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>
` (2 subsequent siblings)
3 siblings, 0 replies; 15+ messages in thread
From: Doctor Who @ 2008-07-20 18:15 UTC (permalink / raw)
To: help-gnu-emacs
On 7/20/08, Dan Espen <daneNO@more.mk.spamtelcordia.com> wrote:
> "Doctor Who" <whodoctor@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.
>
Well, using 'Options -> Set Default Font' in emacs and choosing DejaVu
or Bitstream results in poor-looking fonts in the editor interface,
while choosing Monospace gives much better looking fonts. I'm curious
if emacs can't find the Bitstream or DejaVu fonts and is falling back
to the 'uglier' font somehow. How could I tell?
This is using xftgnuemacs obtained and built using:
$ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs
$ cd emacs
$ ./configure --with-x-toolkit=gtk --enable-font-backend --with-xft
$ make bootstrap
$ make
# make install
$ emacs &
Thanks!
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <mailman.15076.1216577712.18990.help-gnu-emacs@gnu.org>]
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
[not found] ` <mailman.15076.1216577712.18990.help-gnu-emacs@gnu.org>
@ 2008-07-20 19:00 ` Dan Espen
0 siblings, 0 replies; 15+ messages in thread
From: Dan Espen @ 2008-07-20 19:00 UTC (permalink / raw)
To: help-gnu-emacs
"Doctor Who" <whodoctor@gmail.com> writes:
> On 7/20/08, Dan Espen <daneNO@more.mk.spamtelcordia.com> wrote:
>> "Doctor Who" <whodoctor@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.
>>
>
> Well, using 'Options -> Set Default Font' in emacs and choosing DejaVu
> or Bitstream results in poor-looking fonts in the editor interface,
You need to define what you mean by poor, maybe post a screenshot
somewhere and provide a link.
> while choosing Monospace gives much better looking fonts. I'm curious
> if emacs can't find the Bitstream or DejaVu fonts and is falling back
> to the 'uglier' font somehow. How could I tell?
I'm not a fan of proportional fonts in the body of the editor.
What all these fancy fonts buy you is anti aliasing which can make fonts
look crisper.
To see if anti aliasing is active use xmag or any of the other magnifier
applications. The fonts will have gray or colored edges.
To identify the actual font is harder, maybe try using the same font
in some other application and compare with a magnifier.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
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 20:24 ` Joel J. Adamson
[not found] ` <mailman.15085.1216585747.18990.help-gnu-emacs@gnu.org>
3 siblings, 0 replies; 15+ messages in thread
From: Joel J. Adamson @ 2008-07-20 20:24 UTC (permalink / raw)
To: Dan Espen; +Cc: help-gnu-emacs
Dan Espen <daneNO@MORE.mk.SPAMtelcordia.com> writes:
> "Doctor Who" <whodoctor@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
--
Joel J. Adamson
(303) 880-3109
Public key: http://pgp.mit.edu
http://www.unc.edu/~adamsonj
http://trashbird1240.blogspot.com
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <mailman.15085.1216585747.18990.help-gnu-emacs@gnu.org>]
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
[not found] ` <mailman.15085.1216585747.18990.help-gnu-emacs@gnu.org>
@ 2008-07-21 7:45 ` Tim X
0 siblings, 0 replies; 15+ messages in thread
From: Tim X @ 2008-07-21 7:45 UTC (permalink / raw)
To: help-gnu-emacs
adamsonj@email.unc.edu (Joel J. Adamson) writes:
> Dan Espen <daneNO@MORE.mk.SPAMtelcordia.com> writes:
>
>> "Doctor Who" <whodoctor@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
Your very correct that its not a full GTK app. However, recent versions
do now allow you to set the default font using the GTK font selection
widgets from the options menu. Once you have done this, saving your
options will result in the font specification being saved into your .emacs file
Tim
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <mailman.15050.1216492932.18990.help-gnu-emacs@gnu.org>]
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
[not found] ` <mailman.15050.1216492932.18990.help-gnu-emacs@gnu.org>
@ 2008-07-20 1:50 ` Tim X
0 siblings, 0 replies; 15+ messages in thread
From: Tim X @ 2008-07-20 1:50 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <mailman.15015.1216429293.18990.help-gnu-emacs@gnu.org>]
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
[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>
0 siblings, 2 replies; 15+ messages in thread
From: Wolfgang Zweimueller @ 2008-07-19 18:39 UTC (permalink / raw)
To: help-gnu-emacs
"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
I had the same problem (with another font). My solution was to put
this line into ~/.Xresources:
Emacs.font: dejavu sans mono
Then do a "xrdb -merge ~/.Xresources" or restart your X11. Now Emacs
should start with that font.
hth,
Wolfgang
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
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>
1 sibling, 0 replies; 15+ messages in thread
From: Doctor Who @ 2008-07-20 12:58 UTC (permalink / raw)
To: help-gnu-emacs
On 7/19/08, Wolfgang Zweimueller <wzwei@gmx.at> 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
>
> I had the same problem (with another font). My solution was to put
> this line into ~/.Xresources:
>
> Emacs.font: dejavu sans mono
>
> Then do a "xrdb -merge ~/.Xresources" or restart your X11. Now Emacs
> should start with that font.
>
> hth,
> Wolfgang
>
Thanks for the reply...unfortunately that did not work for me. Not
sure if the problem is specific to my OS (openSUSE 11.0 in this case)
as to where it is looking for those settings. The font in the menu
bar looks great, but the font in the editor screen does not respect
what is put in ~/.Xresources.
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <mailman.15064.1216558688.18990.help-gnu-emacs@gnu.org>]
* Re: Getting emacs23 to use Bitstream Vera Sans Mono-8 font
[not found] ` <mailman.15064.1216558688.18990.help-gnu-emacs@gnu.org>
@ 2008-07-21 7:40 ` Tim X
0 siblings, 0 replies; 15+ messages in thread
From: Tim X @ 2008-07-21 7:40 UTC (permalink / raw)
To: help-gnu-emacs
"Doctor Who" <whodoctor@gmail.com> writes:
> On 7/19/08, Wolfgang Zweimueller <wzwei@gmx.at> 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
>>
>> I had the same problem (with another font). My solution was to put
>> this line into ~/.Xresources:
>>
>> Emacs.font: dejavu sans mono
>>
>> Then do a "xrdb -merge ~/.Xresources" or restart your X11. Now Emacs
>> should start with that font.
>>
>> hth,
>> Wolfgang
>>
>
> Thanks for the reply...unfortunately that did not work for me. Not
> sure if the problem is specific to my OS (openSUSE 11.0 in this case)
> as to where it is looking for those settings. The font in the menu
> bar looks great, but the font in the editor screen does not respect
> what is put in ~/.Xresources.
>
>
If your running a GTK based version of emacs 23, its actually the other
way round. The fonts in the GTK widgets don't respect/honor
.Xresources/Xdefaults settings. Only the font in the editing 'window'
does. See the emacs manual in the section on Xresources.
Tim
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2008-07-21 7:45 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
[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
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).