Function mupdf_sys::fz_encode_character_sc
source · pub unsafe extern "C" fn fz_encode_character_sc(
ctx: *mut fz_context,
font: *mut fz_font,
unicode: c_int
) -> c_int
Expand description
Encode character, preferring small-caps variant if available.
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.