diff options
author | Grigori Goronzy <greg@blackbox> | 2011-07-08 18:32:16 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2011-07-08 18:32:16 +0200 |
commit | 811a06975a0088cf447ab21a1690df65ae76dca4 (patch) | |
tree | 59e81fa6b956c96d3537437a9b96e08f5a6b7d03 /libass/ass_shaper.c | |
parent | 5b9dec61a50fb3974809a18479dd0d33ccbb8792 (diff) | |
download | libass-811a06975a0088cf447ab21a1690df65ae76dca4.tar.bz2 libass-811a06975a0088cf447ab21a1690df65ae76dca4.tar.xz |
shaper: always use neutral base direction
Diffstat (limited to 'libass/ass_shaper.c')
-rw-r--r-- | libass/ass_shaper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libass/ass_shaper.c b/libass/ass_shaper.c index 24f5f00d..5631be2c 100644 --- a/libass/ass_shaper.c +++ b/libass/ass_shaper.c @@ -94,7 +94,7 @@ void ass_shaper_reorder(TextInfo *text_info, FriBidiCharType *ctypes, FriBidiLevel *emblevels, FriBidiStrIndex *cmap) { int i; - FriBidiParType dir = FRIBIDI_PAR_LTR; + FriBidiParType dir; // Initialize reorder map for (i = 0; i < text_info->length; i++) @@ -104,6 +104,7 @@ void ass_shaper_reorder(TextInfo *text_info, FriBidiCharType *ctypes, for (i = 0; i < text_info->n_lines; i++) { LineInfo *line = text_info->lines + i; int level; + dir = FRIBIDI_PAR_ON; // FIXME: we should actually specify // the correct paragraph base direction |