]> git.lyx.org Git - features.git/commit
Fix bug #3997: RTL paragraphs are painted slightly too far to the left
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 10 Aug 2009 19:47:05 +0000 (19:47 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 10 Aug 2009 19:47:05 +0000 (19:47 +0000)
commit231c2e2d61f29bce1ec56899572564e78cf53642
tree2e52d28cb16de71cad1d0ef2c6b2b7e90fb5510a
parent1c867a17b204db4f521e020f1e1e9d3061988180
Fix bug #3997: RTL paragraphs are painted slightly too far to the left

In the computation of the row width, the last space on a row was included. However, this space is not drawn on screen and shouldn't contribute to the width. As a result all rows in a paragraph were painted slightly too far to the left, except the last on.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30967 a592a061-630c-0410-9148-cb99ea01b6c8
src/TextMetrics.cpp