[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fontset and customize-face
From: |
Oliver Scholz |
Subject: |
Re: Fontset and customize-face |
Date: |
Thu, 08 May 2003 17:32:02 +0200 |
User-agent: |
Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (windows-nt) |
Wang Yin <wang-y01@mails.tsinghua.edu.cn> writes:
> No. It doesn't work. The customization inserted the following text
> into my .emacs file:
>
> (custom-set-faces
> ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
> ;; Your init file should contain only one such instance.
> '(default ((t (:stipple nil
[...]
> :family "fontset-song")))))
>
> And I can't change fontset. If I use describe-fontset I'll get the
> error:
>
> "describe-fontset: Current frame is using font, not fontset"
[...]
Sorry, I thought it is possible to specify a fontset via customize (I
thought I have read that in a comment somewhere), but it seems that it
is not.
Allright, this is really hairy. Please try the following:
1. Customize the default face and /disable/ the "Font Family"
check-box, then save and restart Emacs. If `custom-set-faces' does
not specify a family, then Emacs should take the family from the
fontset specified in .Xresources. (Provided that you had this
already working.)
2. For all other faces it should be possible to specify a font family.
(If you really need a different fontset (not simpy a different
font) for certain faces, please tell. But I think you have to
resort to Lisp in that case.)
Oliver
--
19 Floréal an 211 de la Révolution
Liberté, Egalité, Fraternité!