From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: :family and :height in set-face-attribute
Date: Mon, 24 Jun 2024 19:29:46 +0300 [thread overview]
Message-ID: <868qyub8xx.fsf@gnu.org> (raw)
In-Reply-To: <07j6QHJQ4wAP4UfVl54iqBZ9CYUG0fju9zaGZJ1rHyS1D18iP1Mcj3fCg275LwQbywdXakx-CiGut25icmfEV26D2SeUrsqZDDcZNPb9jzU=@protonmail.com> (message from Heime on Mon, 24 Jun 2024 15:39:07 +0000)
> 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).
next prev parent reply other threads:[~2024-06-24 16:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-24 10:32 :family and :height in set-face-attribute Heime
2024-06-24 12:54 ` Eli Zaretskii
2024-06-24 14:57 ` Heime
2024-06-24 15:34 ` Eli Zaretskii
2024-06-24 15:39 ` Heime
2024-06-24 16:29 ` Eli Zaretskii [this message]
2024-06-24 17:16 ` Heime
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=868qyub8xx.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).