[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use "smart kerning" font features in Emacs using composition-
From: |
Eli Zaretskii |
Subject: |
Re: How to use "smart kerning" font features in Emacs using composition-function-table |
Date: |
Mon, 27 Nov 2023 17:22:39 +0200 |
> From: Steve Molitor <stevemolitor@gmail.com>
> Date: Mon, 27 Nov 2023 08:47:41 -0600
>
> Thanks again. Last question: Does it make sense to optimize for shorter
> matches? For example, I could pull out the space to only match "words",
> and pull out and handle the "/" separately, to avoid matching against
> long file paths.
Optimize for what purpose? If almost everything is going to be
matched anyway, I think it is better to send larger chunks of text to
the shaping engine, as that causes fewer calls and the shaping engine
will be able to produce better visuals.