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/xps | |
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/xps')
-rw-r--r-- | source/xps/xps-glyphs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xps/xps-glyphs.c b/source/xps/xps-glyphs.c index 91c53743..3d0ebfd0 100644 --- a/source/xps/xps-glyphs.c +++ b/source/xps/xps-glyphs.c @@ -452,7 +452,7 @@ xps_parse_glyphs_imp(fz_context *ctx, xps_document *doc, const fz_matrix *ctm, } dir = bidi_level & 1 ? FZ_DIR_R2L : FZ_DIR_L2R; - fz_show_glyph(ctx, text, font, &tm, glyph_index, char_code, is_sideways, bidi_level, dir, fz_lang_unset); + fz_show_glyph(ctx, text, font, &tm, glyph_index, char_code, is_sideways, bidi_level, dir, FZ_LANG_UNSET); x += advance * 0.01f * size; } |