unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* TT fonts in Emacs
@ 2003-09-18 12:55 Björn Lindström
  2003-09-18 19:23 ` Jason Rumney
  0 siblings, 1 reply; 6+ messages in thread
From: Björn Lindström @ 2003-09-18 12:55 UTC (permalink / raw)


I'm having some trouble understanding how I should specify a TT font
(in this case, Bitstream Vera Mono) for Emacs in my xresources. Can
anyone spread some light over this?

-- 
Björn Lindström <bkhl@elektrubadur.se>
http://bkhl.elektrubadur.se/

Hearken to the new *Elektrubadur* demo at http://elektrubadur.se/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: TT fonts in Emacs
  2003-09-18 12:55 TT fonts in Emacs Björn Lindström
@ 2003-09-18 19:23 ` Jason Rumney
  2003-10-08 16:25   ` Björn Lindström
  0 siblings, 1 reply; 6+ messages in thread
From: Jason Rumney @ 2003-09-18 19:23 UTC (permalink / raw)


bkhl@elektrubadur.se (Björn Lindström) writes:

> I'm having some trouble understanding how I should specify a TT font
> (in this case, Bitstream Vera Mono) for Emacs in my xresources. Can
> anyone spread some light over this?

The same way as any other scalable font.

Find out the font's full name using xlsfonts or similar, and fill in
one of the size fields in the XFLD descriptor.

Eg if xlsfonts returns:

-bitstream-Bitstream Vera Sans Mono-medium-r-normal--0-0-96-96-m-0-iso8859-1

then for a 11pt font in Emacs use:

-bitstream-Bitstream Vera Sans Mono-medium-r-normal--*-110-96-96-m-*-iso8859-1

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: TT fonts in Emacs
  2003-09-18 19:23 ` Jason Rumney
@ 2003-10-08 16:25   ` Björn Lindström
  2003-10-08 20:32     ` Matthew Freeman
       [not found]     ` <mailman.1365.1065645213.21628.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Björn Lindström @ 2003-10-08 16:25 UTC (permalink / raw)


jasonr (Jason Rumney) @  f2s.com writes:

> bkhl@elektrubadur.se (Björn Lindström) writes:
>
>> I'm having some trouble understanding how I should specify a TT font
>> (in this case, Bitstream Vera Mono) for Emacs in my xresources. Can
>> anyone spread some light over this?
>
> The same way as any other scalable font.
>
> Find out the font's full name using xlsfonts or similar, and fill in
> one of the size fields in the XFLD descriptor.
>
> Eg if xlsfonts returns:
>
> -bitstream-Bitstream Vera Sans Mono-medium-r-normal--0-0-96-96-m-0-iso8859-1
>
> then for a 11pt font in Emacs use:
>
> -bitstream-Bitstream Vera Sans Mono-medium-r-normal--*-110-96-96-m-*-iso8859-1

Thanks for the advice. However, the Vera fonts does not appear in the
xlsfonts listing, or in xfontsel. This is weird, since I can use them in
Mozilla. Using the -o parameter to xlsfonts doesn't help, either.

-- 
Björn Lindström <bkhl@elektrubadur.se>
http://bkhl.elektrubadur.se/

Download the new *Elektrubadur* demo from http://elektrubadur.se/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: TT fonts in Emacs
  2003-10-08 16:25   ` Björn Lindström
@ 2003-10-08 20:32     ` Matthew Freeman
       [not found]     ` <mailman.1365.1065645213.21628.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Matthew Freeman @ 2003-10-08 20:32 UTC (permalink / raw)
  Cc: help-gnu-emacs

Drop the following file in your /etc/fonts/ directory and restart your font
server.  

http://www.gnome.org/fonts/local.conf

Worked perfectly for me. (Bitstream Vera Sans Mono) :-)


> 
> Thanks for the advice. However, the Vera fonts does not appear in the
> xlsfonts listing, or in xfontsel. This is weird, since I can use them in
> Mozilla. Using the -o parameter to xlsfonts doesn't help, either.
> 
> -- 
> Björn Lindström <bkhl@elektrubadur.se>
> http://bkhl.elektrubadur.se/
> 
> Download the new *Elektrubadur* demo from http://elektrubadur.se/
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: TT fonts in Emacs
       [not found]     ` <mailman.1365.1065645213.21628.help-gnu-emacs@gnu.org>
@ 2003-10-08 21:12       ` Björn Lindström
  2003-10-09  8:49         ` Roman Belenov
  0 siblings, 1 reply; 6+ messages in thread
From: Björn Lindström @ 2003-10-08 21:12 UTC (permalink / raw)


"Matthew Freeman" <mfreeman@coffeemanmatt.com> writes:

> Drop the following file in your /etc/fonts/ directory and restart your
> font server.
>
> http://www.gnome.org/fonts/local.conf
>
> Worked perfectly for me. (Bitstream Vera Sans Mono) :-)

I already have that file there. (I diffed it with the one on gnome.org,
to be certain it's the right one.)

-- 
Björn Lindström <bkhl@elektrubadur.se>
http://bkhl.elektrubadur.se/

Download the new *Elektrubadur* demo from http://elektrubadur.se/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: TT fonts in Emacs
  2003-10-08 21:12       ` Björn Lindström
@ 2003-10-09  8:49         ` Roman Belenov
  0 siblings, 0 replies; 6+ messages in thread
From: Roman Belenov @ 2003-10-09  8:49 UTC (permalink / raw)


bkhl@elektrubadur.se (Björn Lindström) writes:

>> Drop the following file in your /etc/fonts/ directory and restart your
>> font server.
>>
>> http://www.gnome.org/fonts/local.conf
>>
>> Worked perfectly for me. (Bitstream Vera Sans Mono) :-)
>
> I already have that file there. (I diffed it with the one on gnome.org,
> to be certain it's the right one.)

/etc/fonts is for apps that use fontconfig. For all the rest you
should have directory with TT fonts listed in FontPath in
/etc/X11/XF86Config and fonts.scale/fonts.dir files in that directory;
probably something is missing in your configuration.

-- 
 							With regards, Roman.

Standard disclaimer: I work for them, but I don't speak for them.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-10-09  8:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-18 12:55 TT fonts in Emacs Björn Lindström
2003-09-18 19:23 ` Jason Rumney
2003-10-08 16:25   ` Björn Lindström
2003-10-08 20:32     ` Matthew Freeman
     [not found]     ` <mailman.1365.1065645213.21628.help-gnu-emacs@gnu.org>
2003-10-08 21:12       ` Björn Lindström
2003-10-09  8:49         ` Roman Belenov

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).