[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Supporting stylistic sets
From: |
Eli Zaretskii |
Subject: |
Re: Supporting stylistic sets |
Date: |
Fri, 23 Sep 2022 21:55:02 +0300 |
> From: Visuwesh <visuweshm@gmail.com>
> Cc: समीर सिंह Sameer Singh
> <lumarzeli30@gmail.com>, emacs-devel@gnu.org
> Date: Fri, 23 Sep 2022 23:56:58 +0530
>
> [வெள்ளி செப்டம்பர் 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" ..)))
How is this different or better than having a special text property?
- Supporting stylistic sets, समीर सिंह Sameer Singh, 2022/09/23
- Re: Supporting stylistic sets, Eli Zaretskii, 2022/09/23
- Re: Supporting stylistic sets, Visuwesh, 2022/09/23
- Re: Supporting stylistic sets,
Eli Zaretskii <=
- 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
- Re: Supporting stylistic sets, समीर सिंह Sameer Singh, 2022/09/24