diff options
| author | Eli Zaretskii | 2021-05-27 12:24:29 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2021-05-27 12:24:29 +0300 |
| commit | c82afdcc88442fcfb5ee076aef13dd9721a98192 (patch) | |
| tree | 737d635fa4567f4f6b322ee4658ec6c538b7b988 /lib/malloc | |
| parent | 7f11dea66298c2c9aeccab2b542ee8e73346f09f (diff) | |
| download | emacs-c82afdcc88442fcfb5ee076aef13dd9721a98192.tar.gz emacs-c82afdcc88442fcfb5ee076aef13dd9721a98192.zip | |
A better fix for 'string-width'
* src/character.c (lisp_string_width): Compute the width when
automatic compositions can happen more accurately, by using the
pixel widths of the grapheme clusters, divided by the default
face's font width. Disregard the current state of
'auto-composition-mode', for consistency with 'current-column' .
Diffstat (limited to 'lib/malloc')
0 files changed, 0 insertions, 0 deletions