[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 23:50:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> the same as running all text through harfbuzz. Which we don't want to
> do in general.
But what's the effect of that, then, I wonder? Uhm...
(aset composition-function-table
?\s
'([" [^ \n\t]+" 0 font-shape-gstring]))
Is this the correct incantation for "send (almost) all words to
harfbuzz"? (I.e., a space and then a non-space sequence.)
In xdisp.c with this:
(benchmark-run 1 (while (not (eobp)) (forward-page 1) (redisplay t)))
Without: 1.2s
With: 1.3s
Sending all words to harfbuzz is probably the right solution in a
variable-pitch font buffer anyway (to get proper kerning), but it
probably doesn't make that much sense in a monospace-font buffer.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Ligature support, (continued)
- Re: Ligature support, Stefan Kangas, 2021/11/05
- 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, Eli Zaretskii, 2021/11/05
- Re: Ligature support, Lars Ingebrigtsen, 2021/11/05
- Re: Ligature support,
Lars Ingebrigtsen <=
- Re: Ligature support, Lars Ingebrigtsen, 2021/11/05
- 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, Lars Ingebrigtsen, 2021/11/06
- 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