[pango] Bug 705007 - sometimes the ordering of text is reversed
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Bug 705007 - sometimes the ordering of text is reversed
- Date: Sun, 4 Aug 2013 22:13:41 +0000 (UTC)
commit e799af1f05513b756e8ed93a8eed82c24637f7b5
Author: Behdad Esfahbod <behdad behdad org>
Date: Sun Aug 4 18:13:22 2013 -0400
Bug 705007 - sometimes the ordering of text is reversed
Fix all-RTL reordering. Oops!
pango/pango-layout.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index f1eed22..cff9c51 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -4912,6 +4912,8 @@ pango_layout_line_reorder (PangoLayoutLine *line)
line->runs = reorder_runs_recurse (logical_runs, length);
g_slist_free (logical_runs);
}
+ else if (all_odd)
+ line->runs = g_slist_reverse (logical_runs);
}
static int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]