pub unsafe extern "C" fn fz_subpixel_adjust(
    ctx: *mut fz_context,
    ctm: *mut fz_matrix,
    subpix_ctm: *mut fz_matrix,
    qe: *mut c_uchar,
    qf: *mut c_uchar
) -> f32
Expand description

Perform subpixel quantisation and adjustment on a glyph matrix.

ctm: On entry, the desired ‘ideal’ transformation for a glyph. On exit, adjusted to a (very similar) transformation quantised for subpixel caching.

subpix_ctm: Initialised by the routine to the transform that should be used to render the glyph.

qe, qf: which subpixel position we quantised to.

Returns: the size of the glyph.

Note: This is currently only exposed for use in our app. It should be considered “at risk” of removal from the API.