summaryrefslogtreecommitdiff
path: root/source/tools
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-04-05 12:31:26 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-04-05 13:40:04 +0200
commita45b3a21c67476c703ddd5d5b4755364671c26c1 (patch)
treea755086e3fa8dd4a11d044f7765875b6f6ad0e19 /source/tools
parent353a05d9e8e8023e1c3c24816f712bdcb05502ca (diff)
downloadmupdf-a45b3a21c67476c703ddd5d5b4755364671c26c1.tar.xz
Clean up bidi enum names.
And use the same enum for both the internal bidi code and the layout code.
Diffstat (limited to 'source/tools')
-rw-r--r--source/tools/murun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/murun.c b/source/tools/murun.c
index b7e328e7..2e11014e 100644
--- a/source/tools/murun.c
+++ b/source/tools/murun.c
@@ -1970,7 +1970,7 @@ static void ffi_Text_showGlyph(js_State *J)
int wmode = js_isdefined(J, 5) ? js_toboolean(J, 5) : 0;
fz_try(ctx)
- fz_show_glyph(ctx, text, font, &trm, glyph, unicode, wmode, 0, FZ_DIR_UNSET, FZ_LANG_UNSET);
+ fz_show_glyph(ctx, text, font, &trm, glyph, unicode, wmode, 0, FZ_BIDI_NEUTRAL, FZ_LANG_UNSET);
fz_catch(ctx)
rethrow(J);
}
@@ -1985,7 +1985,7 @@ static void ffi_Text_showString(js_State *J)
int wmode = js_isdefined(J, 4) ? js_toboolean(J, 4) : 0;
fz_try(ctx)
- fz_show_string(ctx, text, font, &trm, s, wmode, 0, FZ_DIR_UNSET, FZ_LANG_UNSET);
+ fz_show_string(ctx, text, font, &trm, s, wmode, 0, FZ_BIDI_NEUTRAL, FZ_LANG_UNSET);
fz_catch(ctx)
rethrow(J);