Function composite_glyph

Source
pub(super) fn composite_glyph<D: PointCoord>(
    gvar: &Gvar<'_>,
    glyph_id: GlyphId,
    coords: &[F2Dot14],
    deltas: &mut [Point<D>],
) -> Result<(), ReadError>
Expand description

Compute a set of deltas for the component offsets of a composite glyph.

Interpolation is meaningless for component offsets so this is a specialized function that skips the expensive bits.