From a45b3a21c67476c703ddd5d5b4755364671c26c1 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 5 Apr 2016 12:31:26 +0200 Subject: Clean up bidi enum names. And use the same enum for both the internal bidi code and the layout code. --- source/tools/murun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/tools') 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); -- cgit v1.2.3