help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] Trouble with fonts


From: Jason Rumney
Subject: Re: [h-e-w] Trouble with fonts
Date: 14 Jan 2002 22:02:40 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

Jerome BESNARD <address@hidden> writes:

> Hi all,
> 
> Despite reading the Faq, I seem to be unable to use the 'Andale' font AND to
> have italic faces (that I could see why) but even bold faces (I only have the
> normal version of the font, used for every face defined...)
> 
> I know the fonts exists on my computer (NT4 SP5 I that matters) and that
> NTemacs is a bit difficult to configure when it comes to fonts and
> fontsets. But whenever I try to do the suggested
> 
> ;;;;;;;;;;;;;;;;;;;
> (setq default-frame-alist
>       (append
>        '((font . (create-fontset-from-ascii-font
>                   "-*-Andale Mono-normal-r-*-*-13-*-*-*-c-*-iso8859-2")))
>        default-frame-alist))
> ;;;;;;;;;;;;;;;;;;;

This is not correct. You can't call a function from inside a quoted
list.

(add-to-list 'default-frame-alist 
             '(font . "-*-Andale Mono-normal-r-*-*-13-*-*-*-c-*-iso8859-2"))

should do what you want in 21.1, otherwise you need to use backquote
syntax (which is explained in the elisp manual):

(add-to-list 'default-frame-alist
             `(font . ,(create-fontset-from-ascii-font
                        "-*-Andale Mono-normal-r-*-*-13-*-*-*-c-*-iso8859-2")))

-- 
Jason Rumney




reply via email to

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