[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Selecting and setting a fixed width font for NT

From: Andy . Ling
Subject: Re: [h-e-w] Selecting and setting a fixed width font for NT
Date: Wed, 5 Feb 2003 14:06:59 +0000

> I would welcome suggestions from others using emacs on NT/XP 
> as to which fonts are fixed width and which they find easy 
> to read. My personal preference seems to be towards sans serif
> fonts that are not too wide.

I use a font called 6X13 which is sans serif. It was posted on this
list some while back, so should be in the archive. If not I can send a 

> I know I can select a font using the dialogue obtained by selecting
> shift-mouse 1 but I prefer to set the font in my startup file like this
>    (set-default-font "-*-MS Sans 
> However I do not know the mapping between the fonts in the
> GUI dialogue and the format used in set-default-font.
> Additionally the command list-fontsets only lists two fonts.

> Is there a way of getting the list of fonts displayed by the
> GUI dialogue in the set-default-font format so I can set the
> font in the startup file?

I evaluate one of the following in the scratch buffer to either
get the name of a selected font or all fonts

(insert (prin1-to-string (w32-select-font)))
(insert (prin1-to-string (x-list-fonts "*")))


Andy Ling                         email: address@hidden
Quantel Ltd.                      Tel:   +44 (0)1635 48222
Turnpike Road, Newbury Berks UK. RG14 2NE

reply via email to

[Prev in Thread] Current Thread [Next in Thread]