[][src]Function mupdf_sys::fz_lookup_noto_font

pub unsafe extern "C" fn fz_lookup_noto_font(
    ctx: *mut fz_context,
    script: c_int,
    lang: c_int,
    len: *mut c_int,
    subfont: *mut c_int
) -> *const c_uchar

Search the builtin noto fonts for a match. Whether a font is present or not will depend on the configuration in which MuPDF is built.

script: The script desired (e.g. UCDN_SCRIPT_KATAKANA).

lang: The language desired (e.g. FZ_LANG_ja).

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.