summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2013-08-04 18:13:22 -0400
committerBehdad Esfahbod <behdad@behdad.org>2013-08-04 18:13:22 -0400
commite799af1f05513b756e8ed93a8eed82c24637f7b5 (patch)
tree874972941d1e5ee1786f89abbb899cc859d382d1 /pango
parentfcd74a7e711cf19efe8c6932b463acf419bdb33b (diff)
downloadpango-e799af1f05513b756e8ed93a8eed82c24637f7b5.tar.gz
Bug 705007 - sometimes the ordering of text is reversed
Fix all-RTL reordering. Oops!
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-layout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index f1eed228..cff9c519 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