diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-02-16 06:25:25 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-02-16 08:13:13 +0000 |
| commit | 76503fb86a8b8a6b5c3ce1be87c15a55af38508d (patch) | |
| tree | 316bf609dcd83cdb83f9e86a4b795b87448fd5f9 /scripts/benchmark.py | |
| parent | doc: foot.ini: font: add one more fontfeatures example (diff) | |
term: append zero-width grapheme breaking characters to previous cell
When compiled with grapheme clustering support, zero-width characters
that also are grapheme breaks, were ignored (not stored in the
grid).
When utf8proc says the character is a grapheme break, we try to print
the character to the current cell. But this is only done when width >
0. As a result, zero width grapheme breaks were simply discarded.
This only happens when grapheme clustering is enabled; when disabled,
all zero width characters are appended.
Fix this by also requiring the width to be non-zero when if we should
append the character or not.
Closes #1960
Diffstat (limited to 'scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions
