changeset 35274:4f4a90b80a9a

libass: Fixed RTL languages
author SubJunk
date Tue, 06 Nov 2012 23:09:28 +0000
parents 2d529504ec2d
children 317eee237d0f
files libass/ass_shaper.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_shaper.c	Tue Nov 06 22:05:26 2012 +0000
+++ b/libass/ass_shaper.c	Tue Nov 06 23:09:28 2012 +0000
@@ -664,6 +664,7 @@
 #ifdef CONFIG_HARFBUZZ
     switch (shaper->shaping_level) {
     case ASS_SHAPING_SIMPLE:
+        shape_fribidi(shaper, glyphs, text_info->length);
         ass_shaper_skip_characters(text_info);
         break;
     case ASS_SHAPING_COMPLEX:
@@ -671,6 +672,7 @@
         break;
     }
 #else
+        shape_fribidi(shaper, glyphs, text_info->length);
         ass_shaper_skip_characters(text_info);
 #endif
 #endif