Skip to main content

advance_delta_with_scalars

Function advance_delta_with_scalars 

Source
pub(crate) fn advance_delta_with_scalars(
    dsim: Option<Result<DeltaSetIndexMap<'_>, ReadError>>,
    ivs: Result<ItemVariationStore<'_>, ReadError>,
    glyph_id: GlyphId,
    coords: &[F2Dot14],
    scalars: &[Fixed],
) -> Option<F48Dot16>
Expand description

The delta for a glyph’s advance, reusing scalars.

Keeps every bit the variation store computed. Rounding it to a whole design unit is left to a caller, and implementations differ on how.