From 3272c66cee887b997171854484fa8a8086884b12 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 11 Mar 2016 16:10:51 +0000 Subject: 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. --- source/html/html-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/html') 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; } -- cgit v1.2.3