summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/basic/basic-coretext.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/basic/basic-coretext.c b/modules/basic/basic-coretext.c
index 0a2c27f8..9e087bab 100644
--- a/modules/basic/basic-coretext.c
+++ b/modules/basic/basic-coretext.c
@@ -29,6 +29,7 @@
#include "pango-utils.h"
#include "pango-fontmap.h"
#include "pangocoretext.h"
+#include "pango-impl-utils.h"
/* No extra fields needed */
typedef PangoEngineShape BasicEngineCoreText;
@@ -489,6 +490,9 @@ basic_engine_shape (PangoEngineShape *engine,
pango_coverage_unref (coverage);
g_slist_foreach (glyph_list, glyph_info_free, NULL);
g_slist_free (glyph_list);
+
+ if (analysis->level & 1)
+ pango_glyph_string_reverse_range (glyphs, 0, glyphs->num_glyphs);
}
static void