Expand description
Computation of glyph point deltas from the gvar table.
Tuples in a glyph’s variation data come in two shapes. A dense tuple
carries a delta for every point and is simply accumulated. A sparse tuple
carries deltas for a subset, and the deltas for the remaining points have to
be inferred by interpolating between the nearest referenced points on either
side, in the manner of the IUP hinting instruction.
Structs§
- Contour 🔒
- One contour’s worth of points, as input coordinates and the moved coordinates being derived from them.
- Delta
Buffers - Caller-provided storage for
Gvar::simple_deltasandGlyphVariationData::simple_deltas.
Functions§
- check_
simple_ 🔒buffers - The buffer requirements shared by both entry points to simple glyph processing.
- interpolate_
deltas 🔒 - Interpolates the points that the current tuple did not reference, in the
manner of the
IUPhinting instruction. - zero 🔒