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/html | |
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/html')
-rw-r--r-- | source/html/html-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/html/html-layout.c b/source/html/html-layout.c index a74354d1..c274460b 100644 --- a/source/html/html-layout.c +++ b/source/html/html-layout.c @@ -1528,7 +1528,7 @@ static void draw_list_mark(fz_context *ctx, fz_html *box, float page_top, float { s += fz_chartorune(&c, s); g = fz_encode_character_with_fallback(ctx, box->style.font, c, UCDN_SCRIPT_LATIN, &font); - fz_show_glyph(ctx, text, font, &trm, g, c, 0, 0, FZ_DIR_UNSET, fz_lang_unset); + fz_show_glyph(ctx, text, font, &trm, g, c, 0, 0, FZ_DIR_UNSET, FZ_LANG_UNSET); trm.e += fz_advance_glyph(ctx, font, g, 0) * box->em; } |