varStore

fontTools.varLib.varStore.Object_collect_device_varidxes(self, varidxes)[source]
fontTools.varLib.varStore.Object_remap_device_varidxes(self, varidxes_map)[source]
class fontTools.varLib.varStore.OnlineVarStoreBuilder(axisTags)[source]
finish(optimize=True)[source]
setModel(model)[source]
setSupports(supports)[source]
storeDeltas(deltas)[source]
storeMasters(master_values)[source]
fontTools.varLib.varStore.VarData_addItem(self, deltas)[source]
fontTools.varLib.varStore.VarRegion_get_support(self, fvar_axes)[source]
class fontTools.varLib.varStore.VarStoreInstancer(varstore, fvar_axes, location={})[source]
interpolateFromDeltas(varDataIndex, deltas)[source]
static interpolateFromDeltasAndScalars(deltas, scalars)[source]
setLocation(location)[source]
fontTools.varLib.varStore.VarStore_optimize(self)[source]

Optimize storage. Returns mapping from old VarIdxes to new ones.

fontTools.varLib.varStore.VarStore_prune_regions(self)[source]

Remove unused VarRegions.

fontTools.varLib.varStore.VarStore_subset_varidxes(self, varIdxes, optimize=True, retainFirstMap=False, advIdxes={})[source]
fontTools.varLib.varStore.main(args=None)[source]

Optimize a font’s GDEF variation store