[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ligature support
From: |
Lars Ingebrigtsen |
Subject: |
Re: Ligature support |
Date: |
Fri, 05 Nov 2021 15:38:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> So for having ligatures you need to set up composition-function-table
> for the characters that could/should ligate.
Yes. And to do that, we can parse the tables in the font, apparently.
It's not obviously clear how, but it looks like harfbuzz has the
functions needed.
> But please read the TODO item: there are pitfalls here that we need to
> solve before this could be considered a reasonable user-level
> feature. Setting up composition-function-table to produce ligatures
> for, say, "fi" and "ff" is easy for testing, but if you do that in
> production, every word with these characters, everywhere on display in
> Emacs, will display as that ligature, and that is hardly TRT. We need
> to make this more fine-tunable. TODO has the details.
I guess it needs some more customisation to be a per-font thing?
But first we need to parse the Gsub/Gpos tables so that we can get
started at all.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Entering emojis, (continued)
- Re: Entering emojis, Jonas Bernoulli, 2021/11/02
- Re: Entering emojis, Jonas Bernoulli, 2021/11/02
- Re: Entering emojis, Andreas Schwab, 2021/11/03
- Re: Entering emojis, Lars Ingebrigtsen, 2021/11/05
- Re: Ligature support (was: Entering emojis), Eli Zaretskii, 2021/11/05
- Re: Ligature support, Lars Ingebrigtsen, 2021/11/05
- Re: Ligature support, Eli Zaretskii, 2021/11/05
- Re: Ligature support,
Lars Ingebrigtsen <=
- Re: Ligature support, Eli Zaretskii, 2021/11/05
- Re: Ligature support, Lars Ingebrigtsen, 2021/11/05
- Re: Ligature support, Eli Zaretskii, 2021/11/05
- Re: Ligature support, Lars Ingebrigtsen, 2021/11/05
- Re: Ligature support, Lars Ingebrigtsen, 2021/11/05
- Re: Ligature support, Eli Zaretskii, 2021/11/05
- Re: Ligature support, Eli Zaretskii, 2021/11/05
- Re: Ligature support, Lars Ingebrigtsen, 2021/11/05
- Re: Ligature support, Yuri Khan, 2021/11/05
- Re: Ligature support, Lars Ingebrigtsen, 2021/11/05