unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
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 15:54:01 +0300	[thread overview]
Message-ID: <86h6dibixi.fsf@gnu.org> (raw)
In-Reply-To: <I0klOn0LxsHONWPDbtn4sDdQ_Xtog_8BKzbExC5I7-AbXylndY1pgDgJKMRQekEho568MbQj7Y7Ou15rBSz-a6Vw2SBgxf7woQnLDcvC5CI=@protonmail.com> (message from Heime on Mon, 24 Jun 2024 10:32:25 +0000)

> Date: Mon, 24 Jun 2024 10:32:25 +0000
> From: Heime <heimeborgia@protonmail.com>
> 
> 
> I have the following command working
> 
> (buffer-face-mode-invoke
>   `(:family ,face-family :height ,(string-to-number face-height)) t)
> 
> But this one does not
> 
> (set-face-attribute 'default nil
>   :family face-family :height (string-to-number face-height))

Works for me.  But since you haven't shown the values of face-family
and face-height, it's hard to tell whether I reproduced what you do.



  reply	other threads:[~2024-06-24 12:54 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 [this message]
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
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=86h6dibixi.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).