[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : Re: Text scale mode and additional fonts
From: |
Eli Zaretskii |
Subject: |
Re: [External] : Re: Text scale mode and additional fonts |
Date: |
Sat, 30 Dec 2023 20:54:20 +0200 |
> From: Drew Adams <drew.adams@oracle.com>
> Date: Sat, 30 Dec 2023 18:12:08 +0000
>
> > > (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.