unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* adding fonts to font menu?
@ 2002-12-27  9:00 Peter Lampione
  2002-12-27 17:24 ` Jesper Harder
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Lampione @ 2002-12-27  9:00 UTC (permalink / raw)


I have figured out the answer to my previous question (I needed 
to turn the 0's into *, &^%#&%$#!!). 

Once one finds nice fonts, how does one add them to the menu that 
pops up when pressing shift-leftbutton? 

Thanks, 

Peter

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

* Re: adding fonts to font menu?
  2002-12-27  9:00 adding fonts to font menu? Peter Lampione
@ 2002-12-27 17:24 ` Jesper Harder
  2002-12-29  9:26   ` Peter Lampione
  0 siblings, 1 reply; 3+ messages in thread
From: Jesper Harder @ 2002-12-27 17:24 UTC (permalink / raw)


plampione@yahoo.com (Peter Lampione) writes:

> Once one finds nice fonts, how does one add them to the menu that 
> pops up when pressing shift-leftbutton?

I think something like this should work:

(add-to-list 'x-fixed-font-alist 
	     '("My fonts" 
	       ("Andale Mono" 
		"-monotype-andale mono-medium-r-normal-*-24-*-*-*-m-*-iso8859-1")
	       ("Luxi Mono" 
		"-b&h-luxi mono-medium-r-normal-*-12-*-*-*-m-*-iso8859-1")) 
	     t)

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

* Re: adding fonts to font menu?
  2002-12-27 17:24 ` Jesper Harder
@ 2002-12-29  9:26   ` Peter Lampione
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Lampione @ 2002-12-29  9:26 UTC (permalink / raw)


Thanks!

I wasn't able to use add-to-list, so I simply setq'ed 
x-fixed-font-alist to the desired value.  Much better now!

Peter


Jesper Harder <harder@myrealbox.com> wrote in message news:<m3of779xz8.fsf@defun.localdomain>...
> plampione@yahoo.com (Peter Lampione) writes:
> 
> > Once one finds nice fonts, how does one add them to the menu that 
> > pops up when pressing shift-leftbutton?
> 
> I think something like this should work:
> 
> (add-to-list 'x-fixed-font-alist 
> 	     '("My fonts" 
> 	       ("Andale Mono" 
> 		"-monotype-andale mono-medium-r-normal-*-24-*-*-*-m-*-iso8859-1")
> 	       ("Luxi Mono" 
> 		"-b&h-luxi mono-medium-r-normal-*-12-*-*-*-m-*-iso8859-1")) 
> 	     t)

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

end of thread, other threads:[~2002-12-29  9:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-27  9:00 adding fonts to font menu? Peter Lampione
2002-12-27 17:24 ` Jesper Harder
2002-12-29  9:26   ` Peter Lampione

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