Function mupdf_sys::fz_load_system_cjk_font [−][src]
pub unsafe extern "C" fn fz_load_system_cjk_font(
ctx: *mut fz_context,
name: *const c_char,
ordering: c_int,
serif: c_int
) -> *mut fz_font
Attempt to load a given font from the system.
name: The name of the desired font.
ordering: The ordering to load the font from (e.g. FZ_ADOBE_KOREA)
serif: 1 if serif desired, 0 otherwise.
Returns a new font handle, or NULL if no matching font was found (or on error).