all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: [External] : Re: Text scale mode and additional fonts
Date: Sat, 30 Dec 2023 21:17:59 +0000	[thread overview]
Message-ID: <SJ0PR10MB54886DB6BA2C5CE5B296C075F39CA@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <83zfxr34ir.fsf@gnu.org>

> > > > (set-fontset-font t 'arabic +bidi-arabic-font)
> > > >
> > > > this makes the initial situation better but now the Urdu text is not
> > > > affected by the `text-scale-mode` commands.
> > >
> > > 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.
> >
> > Very useful info.  But I don't see that spelled
> > out clearly in the doc.  There I find only
> > statements such as these.  Do they perhaps imply
> > what you stated?
> >
> > `:size'
> >
> > VALUE must be a non-negative integer or a floating point number
> > specifying the font size.  It specifies the font size in pixels (if
> > VALUE is an integer), or in points (if VALUE is a float).
> 
> Sorry, I was confused.  What I wrote is true for the :height
> attribute of a face, not about :size in a font-spec.  IOW, to get what
> he wants, the OP should define a face with :height attribute a float.

Thanks for clarifying.  That makes sense.




  reply	other threads:[~2023-12-30 21:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-30 11:10 Text scale mode and additional fonts 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 [this message]
2023-12-31  0:58         ` Po Lu
  -- strict thread matches above, loose matches on Subject: below --
2023-12-31 10:41 Rahguzar
2024-01-01 12:09 ` Eli Zaretskii
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
2024-02-19 17:11 Rahguzar

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0PR10MB54886DB6BA2C5CE5B296C075F39CA@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.