unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Rahguzar <rahguzar@zohomail.eu>
To: luangruo@yahoo.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: [External] : Re: Text scale mode and additional fonts
Date: Sun, 31 Dec 2023 11:41:32 +0100	[thread overview]
Message-ID: <87sf3id4yl.fsf@zohomail.eu> (raw)
In-Reply-To: s0dttnzxk55.fsf@yahoo.com

Hi Po,

> It's also worth mentioning that face-font-rescale-alist frees you from
> providing a scale factor in every place the font to be scaled is
> specified.

Thank you so much face-font-rescale-alist is exactly what I wanted. But
it seems like there is bug or at least a problem with doc string. It
mentions that FONT-PATTERN can be a font-spec but when I try to pass a
font spec in my config I get an error:

string-match-p: Wrong type argument: stringp, #<font-spec nil nil Mehr\ Nastaliq\ Web nil nil nil nil nil nil nil nil nil nil>

Using the font name for FONT-PATTERN works as expected, so I have used
that.

Thanks again,
Rahguzar



             reply	other threads:[~2023-12-31 10:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-31 10:41 Rahguzar [this message]
2024-01-01 12:09 ` [External] : Re: Text scale mode and additional fonts Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2024-02-19 17:11 Rahguzar
2024-01-01 13:11 Rahguzar
2024-02-13  9:02 ` Rahguzar
2024-02-13 13:02   ` Eli Zaretskii
2024-02-15 10:07   ` Eli Zaretskii
2023-12-30 11:10 Rahguzar
2023-12-30 17:47 ` Eli Zaretskii
2023-12-30 18:12   ` [External] : " Drew Adams
2023-12-30 18:54     ` Eli Zaretskii
2023-12-30 21:17       ` Drew Adams
2023-12-31  0:58         ` Po Lu

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=87sf3id4yl.fsf@zohomail.eu \
    --to=rahguzar@zohomail.eu \
    --cc=help-gnu-emacs@gnu.org \
    --cc=luangruo@yahoo.com \
    /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).