[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ligature support
From: |
Lars Ingebrigtsen |
Subject: |
Re: Ligature support |
Date: |
Sat, 06 Nov 2021 00:02:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> 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.
The space-based thing was wrong, but here's another stab at testing the
speed.
(dolist (c (append (number-sequence ?A ?Z)
(number-sequence ?a ?z)))
(aset composition-function-table
c
(list (vector (concat (string c) "[^ \n\t]+") 0 #'font-shape-gstring))))
Without:
With:
So that fixes the kerning (this is with the proportional Deja Vu font).
And with that, scrolling through xdisp.c is 30% slower.
--
(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, 2021/11/05
- Re: Ligature support,
Lars Ingebrigtsen <=
- 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
- Re: Ligature support, Eli Zaretskii, 2021/11/15