Cosimo Lupo 0b746bc38d
instancer: implement restricting axis ranges (L3)
Added method to limitTupleVariationAxisRanges which takes a map of
axis tags to (min, max) ranges and drops entire deltasets when outside
of the new limits, or scales the ones that are within range.

Modified _TupleVarStoreAdapter to account for the fact that, when limiting
axes, existing regions can be modifed rathern than simply dropped
(see rebuildRegions).

Implemented limiting axis ranges for fvar, FeatureVariations, and avar.

Note how we pass user-scale coordinates to instantiateAvar, because we need
both the default normalized coordinates and the ones mapped forward (by
the very same avar table that we are instancing).

STAT table support will follow in a separate commit.
2019-10-24 17:10:32 +01:00
..
2019-08-09 12:20:13 +01:00
2019-08-09 12:20:13 +01:00
2019-08-09 12:20:13 +01:00
2019-09-10 16:52:56 +02:00
2019-08-09 12:20:13 +01:00
2019-08-09 12:20:13 +01:00
2019-08-09 12:20:13 +01:00
2019-09-26 12:08:15 +01:00
2019-08-09 12:20:13 +01:00
2019-08-09 12:20:13 +01:00
2019-08-09 12:20:13 +01:00
2019-08-09 12:20:13 +01:00
2019-08-09 12:20:13 +01:00
2019-08-09 12:20:13 +01:00