Function mupdf_sys::fz_encode_character_by_glyph_name
source · pub unsafe extern "C" fn fz_encode_character_by_glyph_name(
ctx: *mut fz_context,
font: *mut fz_font,
glyphname: *const c_char
) -> c_int
Expand description
Encode character.
Either by direct lookup of glyphname within a font, or, failing that, by mapping glyphname to unicode and thence to the glyph index within the given font.
Returns zero for type3 fonts.