[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: :family and :height in set-face-attribute
From: |
Heime |
Subject: |
Re: :family and :height in set-face-attribute |
Date: |
Mon, 24 Jun 2024 17:16:52 +0000 |
Sent with Proton Mail secure email.
On Monday, June 24th, 2024 at 4:29 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > Date: Mon, 24 Jun 2024 15:39:07 +0000
> > From: Heime heimeborgia@protonmail.com
> > Cc: help-gnu-emacs@gnu.org
> >
> > > > (set-face-attribute 'default nil
> > > >
> > > > :family face-family :height (string-to-number face-height)) ))
> > >
> > > Come on, can't you just show the values you use in the
> > > set-face-attribute call?
> >
> > I use the strings in cseq
> >
> > > Also, is the value of face-family with which you call
> > > set-face-attribute one of the families returned by font-family-list?
> >
> > Yes they are. Calling buffer-face-mode-invoke does what is expected to
> > happen. But not for set-face-attribute.
>
>
> Then I don't know why it didn't work for you, sorry. It did work for
> me (but with font families I have, not with yours, which I don't
> have).
The only instance that works is
(set-face-attribute 'default nil :font "Wargames")