[][src]Function mupdf_sys::fz_advance_glyph

pub unsafe extern "C" fn fz_advance_glyph(
    ctx: *mut fz_context,
    font: *mut fz_font,
    glyph: c_int,
    wmode: c_int
) -> f32

Return the advance for a given glyph.

font: The font to look for the glyph in.

glyph: The glyph to find the advance for.

wmode: 1 for vertical mode, 0 for horizontal.

Returns the advance for the glyph.