[vte/wip/egmont/bidi: 24/105] explicit rtl, basic painting okay
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/wip/egmont/bidi: 24/105] explicit rtl, basic painting okay
- Date: Thu, 25 Apr 2019 12:26:37 +0000 (UTC)
commit 7fd84803180e20902f9070f2bd59d2e7301a50b2
Author: Egmont Koblinger <egmont gmail com>
Date: Sat Aug 18 16:59:59 2018 +0200
explicit rtl, basic painting okay
src/vte.cc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index a88afd9c..928d4b69 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -8924,8 +8924,9 @@ Terminal::draw_rows(VteScreen *screen_,
/* Get the character cell's contents. */
cell = _vte_row_data_get_bidi (row_data, col);
if (cell == NULL) {
- /* There'll be no more real cells in this row. */
- break;
+ /* We're rendering BiDi text in visual order, so an unused cell can be
followed by a used one. */
+ col++;
+ continue;
}
nhyperlink = (m_allow_hyperlink && cell->attr.hyperlink_idx != 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]