pub unsafe extern "C" fn fz_glyph_cacheable(
    ctx: *mut fz_context,
    font: *mut fz_font,
    gid: c_int
) -> c_int
Expand description

Determine if a given glyph in a font is cacheable. Certain glyphs in a type 3 font cannot safely be cached, as their appearance depends on the enclosing graphic state.

font: The font to look for the glyph in.

gif: The glyph to query.

Returns non-zero if cacheable, 0 if not.