Skip to main content

Module deltas

Module deltas 

Source
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.

See inferred deltas for un-referenced point numbers.

Structs§

Contour 🔒
One contour’s worth of points, as input coordinates and the moved coordinates being derived from them.
DeltaBuffers
Caller-provided storage for Gvar::simple_deltas and GlyphVariationData::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 IUP hinting instruction.
zero 🔒