From f7e639c8189144333485bfe07aeb6b95c7530f53 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 26 Oct 2015 11:38:01 +0100 Subject: [PATCH] Fix commit 32edb659 A bad test meant an embarassing red line on the left. This is still bug #9807. --- src/TextMetrics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index 73bd4f8baa..2ec798ffe4 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();