unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Rahguzar <rahguzar@zohomail.eu>
To: eliz@gnu.org
Cc: help-gnu-emacs@gnu.org
Subject: Re: Text scale mode and additional fonts
Date: Sat, 30 Dec 2023 19:50:56 +0100	[thread overview]
Message-ID: <87wmsvcydf.fsf@zohomail.eu> (raw)
In-Reply-To: 837ckv4m7f.fsf@gnu.org

Hi Eli,

> That's because the :size attribute is absolute: 28.  Instead, use a
> relative value, a float such as 1.5, then it should scale with the
> rest of the text.

I tried

(setq +bidi-arabic-font (font-spec :family "Mehr Nastaliq Web" :size 28.0))

and it doesn't change the behavior. With it if I use `describe-char` on an
Urdu character, I always see,

ftcrhb:-ITU -Mehr Nastaliq Web-regular-normal-normal-*-37-*-*-*-*-0-iso10646-1 (#x8F)

regardless of the `text-scale-mode-amount`. So a float value changes the
units but not the behavior w.r.t. `text-scale-mode`.

Thanks,
Rahguzar



             reply	other threads:[~2023-12-30 18:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-30 18:50 Rahguzar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-30 11:10 Text scale mode and additional fonts Rahguzar
2023-12-30 17: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=87wmsvcydf.fsf@zohomail.eu \
    --to=rahguzar@zohomail.eu \
    --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).