pub unsafe extern "C" fn fz_render_glyph_pixmap(
    ctx: *mut fz_context,
    font: *mut fz_font,
    gid: c_int,
    ctm: *mut fz_matrix,
    scissor: *const fz_irect,
    aa: c_int
) -> *mut fz_pixmap
Expand description

Create a pixmap containing a rendered glyph.

Lookup gid from font, clip it with scissor, and rendering it with aa bits of antialiasing into a new pixmap.

The caller takes ownership of the pixmap and so must free it.

Note: This function is no longer used for normal rendering operations, and is kept around just because we use it in the app. It should be considered “at risk” of removal from the API.