unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Heime <heimeborgia@protonmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Setting face attribute with height specification
Date: Sun, 23 Jun 2024 18:34:43 +0000	[thread overview]
Message-ID: <NThfC49AbpbR9SIFpKxWVGNI8ISLeOpUrB4LS4JdU7fGR3il1Qq9oOA2BSvn8kRSm8EBL_2f_TPlywfQAqkn-ttxQWqEqDrLwd0cb94vBbE=@protonmail.com> (raw)
In-Reply-To: <86v81zcyfb.fsf@gnu.org>






Sent with Proton Mail secure email.

On Sunday, June 23rd, 2024 at 6:21 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Sun, 23 Jun 2024 18:09:09 +0000
> > From: Heime heimeborgia@protonmail.com
> > Cc: help-gnu-emacs@gnu.org
> > 
> > On Sunday, June 23rd, 2024 at 5:54 PM, Eli Zaretskii eliz@gnu.org wrote:
> > 
> > > > Date: Sun, 23 Jun 2024 17:31:02 +0000
> > > > From: Heime heimeborgia@protonmail.com
> > > > Cc: Eli Zaretskii eliz@gnu.org, help-gnu-emacs@gnu.org
> > > > 
> > > > The following is telling me
> > > > 
> > > > Invalid face attribute :height (string-to-number face-height)
> > > > 
> > > > > (buffer-face-mode-invoke
> > > > > '(:family "URW Chancery L" :height (string-to-number face-height)) t)
> > > > 
> > > > And this does not change the family (when using "Wargames" for instance)
> > > > 
> > > > > (set-face-attribute 'default nil
> > > > > :family "URW Chancery L" :height (string-to-number face-height))
> > > 
> > > Maybe you use incorrect family name? The list of available families
> > > is produced by the function font-family-list.
> > 
> > I did not use that list, but the output from fc-list.
> > 
> > Have called (font-family-list) but the list gets truncated with "..."
> > 
> > ("Noto Sans Bengali UI" "STIXIntegralsUp" "Noto Sans Canadian Aboriginal"
> > "Noto Sans Devanagari UI" "UnGraphic" "Noto Serif Sinhala" "Noto Sans Malayalam"
> > "Noto Serif Armenian" "Noto Sans Khmer" "Noto Sans Gurmukhi" "Junkyard" "wasy10" ...)
> 
> 
> The "..." is the standard Emacs way of showing long lists. Move point
> there and press RET, and you will see the full list.

I used the following command in the minibuffer, but as soon as I click into
the minibuffer to press RET, the contents are removed.  

(font-family-list) C-x C-x

Have also done the following function, but the list is too 
long and gets truncated in the messages buffer.

(defun falfont-famlist ()

  (interactive)

  (dolist (font (font-family-list))

    (message "%s" font)

    (sit-for 1)))




  reply	other threads:[~2024-06-23 18:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-22 21:59 Setting face attribute with height specification Heime
2024-06-23  5:08 ` Eli Zaretskii
2024-06-23 14:58   ` Heime
2024-06-23 17:31     ` Heime
2024-06-23 17:54       ` Eli Zaretskii
2024-06-23 18:09         ` Heime
2024-06-23 18:21           ` Eli Zaretskii
2024-06-23 18:34             ` Heime [this message]
2024-06-23 18:47               ` Eli Zaretskii
2024-06-23 19:19                 ` Heime
2024-06-23 19:30                   ` Eli Zaretskii
2024-06-23 18:44     ` Yuri Khan
2024-06-23 18:49       ` Eli Zaretskii
2024-06-23 19:04         ` 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='NThfC49AbpbR9SIFpKxWVGNI8ISLeOpUrB4LS4JdU7fGR3il1Qq9oOA2BSvn8kRSm8EBL_2f_TPlywfQAqkn-ttxQWqEqDrLwd0cb94vBbE=@protonmail.com' \
    --to=heimeborgia@protonmail.com \
    --cc=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).