commit f7e639c8189144333485bfe07aeb6b95c7530f53
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Mon Oct 26 11:38:01 2015 +0100
Fix commit 32edb659
A bad test meant an embarassing red line on the left.
This is still bug #9807.
diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp
index 73bd4f8..2ec798f 100644
--- a/src/TextMetrics.cpp
+++ b/src/TextMetrics.cpp
@@ -1956,7 +1956,7 @@ void TextMetrics::drawParagraph(PainterInfo & pi,
pit_type const pit, int const
rp.paintLast();
if (i == 0 && is_rtl)
rp.paintFirst();
- rp.paintTooLargeMarks(row_x < row.left_x(),
+ rp.paintTooLargeMarks(row_x + row.left_x() < 0,
row_x + row.right_x() > bv_->workWidth());
y += row.descent();