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

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

Re: calling set-face-font in the .gun-emacs (aka .emacs)


From: drkm
Subject: Re: calling set-face-font in the .gun-emacs (aka .emacs)
Date: Wed, 01 Jun 2005 17:38:20 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt)

Hattuari <susudata@setidava.kushan.aa> writes:

> The answer I was looking for was to use real quotation marks around the font
> specification 
> (set-face-font 'default
> "-adobe-courier-bold-r-normal--18-180-75-75-m-110-iso8859-1")

> `C-h f' doesn't tell me that.

  Yes, it does:

    ,----[ C-h f set-face-font RET ]
    | (set-face-font face font &optional frame)
    | 
    | Change font-related attributes of face to those of font (a
    | string).
    `----

  BTW, use 'set-face-attribute' instead of 'set-face-font' if you
are not releated to compatibility issues:

    (set-face-attribute 'default nil :font "-adobe-...")

--drkm


reply via email to

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