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: set-frame-font and set-face-attribute
Date: Sun, 23 Jun 2024 07:49:15 +0300	[thread overview]
Message-ID: <86le2wfelw.fsf@gnu.org> (raw)
In-Reply-To: <ezovo6cRuduOmOVZ1DiKcYoGdoKOgkfqL0Mbl8oNEbVOab3u8vTzCTdqReA3zsk0m53MedkLDrQXxqbk1sB7UHPOEKq2XGsCu3Ff43IZ6E0=@protonmail.com> (message from Heime on Sat, 22 Jun 2024 20:39:56 +0000)

> Date: Sat, 22 Jun 2024 20:39:56 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
> I am also unsure of what the font declaration should be 
> 
> (set-face-attribute 'default nil :font "URW Chancery L-12")
> 
> or
> 
> (set-face-attribute 'default nil 
>   :family "URW Chancery L" :height 120)
> 
> or something else

This is documented in the doc string of set-face-attribute.
Specifically, :family is more general than :font.




  reply	other threads:[~2024-06-23  4:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-22 20:23 set-frame-font and set-face-attribute Heime
2024-06-22 20:39 ` Heime
2024-06-23  4:49   ` Eli Zaretskii [this message]
2024-06-23  4:47 ` Eli Zaretskii

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=86le2wfelw.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).