Function mupdf_sys::fz_lookup_cjk_font
source · pub unsafe extern "C" fn fz_lookup_cjk_font(
ctx: *mut fz_context,
ordering: c_int,
len: *mut c_int,
index: *mut c_int
) -> *const c_uchar
Expand description
Search the builtin cjk fonts for a match. Whether a font is present or not will depend on the configuration in which MuPDF is built.
ordering: The desired ordering of the font (e.g. FZ_ADOBE_KOREA).
len: Pointer to a place to receive the length of the discovered font buffer.
Returns a pointer to the font file data, or NULL if not present.