From 211234411c68f4578c3bbfafeb84e8d26040443a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 19 Sep 2018 13:20:01 +0200 Subject: Add fz_lookup_cjk_font_by_name to create builtin CJK fonts. --- include/mupdf/fitz/font.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/mupdf/fitz/font.h b/include/mupdf/fitz/font.h index d9a5f7b2..4565983c 100644 --- a/include/mupdf/fitz/font.h +++ b/include/mupdf/fitz/font.h @@ -290,6 +290,7 @@ const unsigned char *fz_lookup_icc(fz_context *ctx, enum fz_colorspace_type name Returns a pointer to the font file data, or NULL if not present. */ const unsigned char *fz_lookup_cjk_font(fz_context *ctx, int ordering, int *len, int *index); +const unsigned char *fz_lookup_cjk_font_by_language(fz_context *ctx, const char *lang, int *size, int *subfont); /* fz_lookup_cjk_ordering_by_language: Return the matching FZ_ADOBE_* ordering -- cgit v1.2.3