Function mupdf_sys::fz_get_glyph_name
source · pub unsafe extern "C" fn fz_get_glyph_name(
ctx: *mut fz_context,
font: *mut fz_font,
glyph: c_int,
buf: *mut c_char,
size: c_int
)
Expand description
Find the name of a glyph
font: The font to look for the glyph in.
glyph: The glyph id to look for.
buf: Pointer to a buffer for the name to be inserted into.
size: The size of the buffer.
If a font contains a name table, then the name of the glyph will be returned in the supplied buffer. Otherwise a name is synthesised. The name will be truncated to fit in the buffer.