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

Find the glyph id for a given unicode character within a font.

font: The font to look for the unicode character in.

unicode: The unicode character to encode.

Returns the glyph id for the given unicode value, or 0 if unknown.