pub(super) fn simple_glyph<C, D>(
gvar: &Gvar<'_>,
glyph_id: GlyphId,
coords: &[F2Dot14],
glyph: SimpleGlyph<'_, C>,
iup_buffer: &mut [Point<D>],
deltas: &mut [Point<D>],
) -> Result<(), ReadError>
Expand description
Compute a set of deltas for the points in a simple glyph.
This function will use interpolation to infer missing deltas for tuples
that contain sparse sets. The iup_buffer
buffer is temporary storage
used for this and the length must be >= glyph.points.len().