pub type fz_load_system_cjk_font_fn = Option<unsafe extern "C" fn(ctx: *mut fz_context, name: *const c_char, ordering: c_int, serif: c_int) -> *mut fz_font>;
Expand description

Type for user supplied cjk font loading hook.

name: The name of the font to load.

ordering: The ordering for which to load the font (e.g. FZ_ADOBE_KOREA)

serif: 1 if a serif font is desired, 0 otherwise.

Returns a new font handle, or NULL if no font found (or on error).