[konsole] [Bug 323994] font rendering bug in English and Chinese chars.
Martin Sandsmark
bugzilla_noreply at kde.org
Sun Nov 20 16:01:59 UTC 2016
https://bugs.kde.org/show_bug.cgi?id=323994
Martin Sandsmark <martin.sandsmark at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |martin.sandsmark at kde.org
--- Comment #4 from Martin Sandsmark <martin.sandsmark at kde.org> ---
It seems like this might be because bidi disables Qt::AlignBottom?
Not sure how something like this would affect things:
diff --git a/src/TerminalDisplay.cpp b/src/TerminalDisplay.cpp
index dd91177..40b0d49 100644
--- a/src/TerminalDisplay.cpp
+++ b/src/TerminalDisplay.cpp
@@ -863,7 +863,7 @@ void TerminalDisplay::drawCharacters(QPainter& painter,
//
// This was discussed in:
http://lists.kde.org/?t=120552223600002&r=1&w=2
if (_bidiEnabled) {
- painter.drawText(rect, 0, text);
+ painter.drawText(rect, Qt::AlignBottom, text);
} else {
// See bug 280896 for more info
painter.drawText(rect, Qt::AlignBottom, LTR_OVERRIDE_CHAR + text);
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list