]> git.eshelyaron.com Git - emacs.git/commit
Avoid breaking Arabic shaping in 'window-text-pixel-size'
authorEli Zaretskii <eliz@gnu.org>
Mon, 9 Nov 2020 15:22:25 +0000 (17:22 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 9 Nov 2020 15:22:25 +0000 (17:22 +0200)
commit13ab70c80e2e31fdf0a289c8e730a33a1cf5d6ae
tree8ae74f9cc323380c330a2bb8c1235990bd662d9c
parente693d97e5005f82c7dbb4f6922d9dc8deac3d14f
Avoid breaking Arabic shaping in 'window-text-pixel-size'

* src/xdisp.c (CHAR_COMPOSED_P): If the bidi_p flag is not set,
pass -1 to composition_reseat_it, so that the shaping engine will
figure out the directionality of the text.  This is important,
e.g., when using move_it_* functions in some context that is not
redisplay, such as 'window-text-pixel-size'.  (Bug#44521)
src/xdisp.c