Fix hscroll of R2L lines that begin with a TAB or another wide glyph.
commit64ae6e0100fab05b0ceb9bded6d834208eeb3e8f
authorEli Zaretskii <eliz@gnu.org>
Tue, 29 Jul 2014 08:19:29 +0000 (29 11:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 29 Jul 2014 08:19:29 +0000 (29 11:19 +0300)
tree50e1359eaf21ea2b3e1d4e9f273d47cc863fce8b
parentaac90c4a9c760ca12395783c7c4120427ba32a96
Fix hscroll of R2L lines that begin with a TAB or another wide glyph.

 src/xdisp.c (append_stretch_glyph): In a R2L glyph row, decrease the
 pixel width of the first glyph that is hscrolled from display.
 (display_line): In R2L glyph rows, don't give a negative offset to
 row->x when the first glyph begins before first_visible_x.
src/ChangeLog
src/xdisp.c