[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Supporting stylistic sets
From: |
Visuwesh |
Subject: |
Re: Supporting stylistic sets |
Date: |
Fri, 23 Sep 2022 23:56:58 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
[வெள்ளி செப்டம்பர் 23, 2022] Eli Zaretskii wrote:
>> I imagined that it would be something like this:
>>
>> (set-fontset-font t 'bengali
>> (font-spec :family "Tiro Bangla"
>> :stylistic-set '("ss03")))
>>
>> (set-face-attribute 'default nil
>> :font "Fira Code"
>> :weight 'regular
>> :height 170
>> :stylistic-set '("cv01" "ss05" "ss03"))
>>
>> Just like how weight, foundry, size etc are set and they seem to be font
>> properties.
>
> That means all text that uses the font will use that stylistic-set.
> Is that good enough? What if you want to have the same font with and
> without a specific stylistic-set in the same document?.
Unless there are performance implications, I don't see why using an
anonymous face won't work i.e.,
(propertize "text" '(face (:stylistic-set ("cv01" ..)))
- Supporting stylistic sets, समीर सिंह Sameer Singh, 2022/09/23
- Re: Supporting stylistic sets, Eli Zaretskii, 2022/09/23
- Re: Supporting stylistic sets,
Visuwesh <=
- Re: Supporting stylistic sets, Eli Zaretskii, 2022/09/23
- Re: Supporting stylistic sets, Visuwesh, 2022/09/24
- Re: Supporting stylistic sets, Eli Zaretskii, 2022/09/24
- Re: Supporting stylistic sets, Visuwesh, 2022/09/24
- Re: Supporting stylistic sets, समीर सिंह Sameer Singh, 2022/09/24
- Re: Supporting stylistic sets, Eli Zaretskii, 2022/09/24
- Re: Supporting stylistic sets, समीर सिंह Sameer Singh, 2022/09/24
- Re: Supporting stylistic sets, Eli Zaretskii, 2022/09/24
- Re: Supporting stylistic sets, समीर सिंह Sameer Singh, 2022/09/24
- Re: Supporting stylistic sets, Eli Zaretskii, 2022/09/24