diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-03-11 16:10:51 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-03-11 16:48:03 +0000 |
commit | 3272c66cee887b997171854484fa8a8086884b12 (patch) | |
tree | 06c188493903c7d2684d0467c127b0c3efd64ed8 /source/tools | |
parent | a3785935df081674d048655048984bcba09f8387 (diff) | |
download | mupdf-3272c66cee887b997171854484fa8a8086884b12.tar.xz |
Implement fz_text_language support functions.
Add code to convert to and from fz_text_language codes from
ISO 639 language strings. No validation is carried out.
Diffstat (limited to 'source/tools')
-rw-r--r-- | source/tools/murun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/murun.c b/source/tools/murun.c index 8ff59be7..69fac9bb 100644 --- a/source/tools/murun.c +++ b/source/tools/murun.c @@ -1935,7 +1935,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_DIR_UNSET, FZ_LANG_UNSET); fz_catch(ctx) rethrow(J); } @@ -1950,7 +1950,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_DIR_UNSET, FZ_LANG_UNSET); fz_catch(ctx) rethrow(J); |