Function mupdf_sys::fz_prepare_t3_glyph

source ·
pub unsafe extern "C" fn fz_prepare_t3_glyph(
    ctx: *mut fz_context,
    font: *mut fz_font,
    gid: c_int
)
Expand description

Force a type3 font to cache the displaylist for a given glyph id.

This caching can involve reading the underlying file, so must happen ahead of time, so we aren’t suddenly forced to read the file while playing a displaylist back.