diff options
| author | Jacob S. Gordon | 2026-01-09 16:21:00 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2026-01-17 14:49:53 +0200 |
| commit | b233ca80e939c939633b37c41398eb1bb12cb4e9 (patch) | |
| tree | 35a6b0114af6d9e34234f09c4a10cdfff54974be /lisp/progmodes/python.el | |
| parent | bd96450a09fc268fed35c0e8e8e181bed346c770 (diff) | |
| download | emacs-b233ca80e939c939633b37c41398eb1bb12cb4e9.tar.gz emacs-b233ca80e939c939633b37c41398eb1bb12cb4e9.zip | |
; calc: Improve alignment for Unicode strings
With higher values of 'calc-string-maximum-character' the
string length can differ from the displayed width. Calculate
alignment offsets based on the the display width, rounded up to
the nearest integer. Refines feature introduced in bug#78528.
* lisp/calc/calccomp.el (math-comp-width): Replace 'length' with
a ratio of 'string-pixel-width's.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions