[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ligature support
From: |
Eli Zaretskii |
Subject: |
Re: Ligature support |
Date: |
Sat, 06 Nov 2021 15:34:10 +0200 |
> From: Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net>
> Date: Sat, 06 Nov 2021 14:25:11 +0100
>
> > Possibly, but probably not. But I don't think people will choose to use
> > fonts for programming that have fonts like that. (Are there even any
> > monospace fonts that have such ligatures?) But when rendering document
> > using a variable-pitch font, then yes.
>
> That is what font "features" are for, as I understand the concept. I
> think Emacs supports those already. Features enable or disable stuff
> like certain ligatures. The user can activate or deactivate features in
> the font specification to choose which ligatures to use.
We have no such mechanism in Emacs. We pass a sequence of characters
to the shaping engine, and expect it to DTRT vis-a-vis the font and
return to use the font glyphs to display that sequence. The only
control Lisp programs and users have here is via
composition-function-table, which determines when we use the shaping
engine for displaying one or more characters.
- Re: Ligature support, (continued)
- Re: Ligature support, Eli Zaretskii, 2021/11/06
- Re: Ligature support, chad, 2021/11/12
- Re: Ligature support, Richard Stallman, 2021/11/14
- Re: Ligature support, Stefan Kangas, 2021/11/15
- Re: Ligature support, Richard Stallman, 2021/11/17
- Re: Ligature support, Eli Zaretskii, 2021/11/15
- Re: Ligature support, Eli Zaretskii, 2021/11/06
- Re: Ligature support, Lars Ingebrigtsen, 2021/11/06
- Re: Ligature support, Eli Zaretskii, 2021/11/06
- Re: Ligature support, Benjamin Riefenstahl, 2021/11/06
- Re: Ligature support,
Eli Zaretskii <=
- Re: Ligature support, Benjamin Riefenstahl, 2021/11/06
- Re: Ligature support, Eli Zaretskii, 2021/11/06
- 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: Entering emojis, chad, 2021/11/08