summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-09-19 13:20:01 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-09-21 14:21:05 +0200
commit211234411c68f4578c3bbfafeb84e8d26040443a (patch)
treeb640e31e93aded0d3d6ddeeddeb74873a4c88c89 /include
parent48b026e7500c5f7239e173d14d09b9e2e272e874 (diff)
downloadmupdf-211234411c68f4578c3bbfafeb84e8d26040443a.tar.xz
Add fz_lookup_cjk_font_by_name to create builtin CJK fonts.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/font.h1
1 files changed, 1 insertions, 0 deletions
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