Home
last modified time | relevance | path

Searched refs:VarStore (Results 1 – 14 of 14) sorted by relevance

/external/fonttools/Tests/varLib/instancer/
Dinstancer_test.py266 assert len(mvar.VarStore.VarData) == 2
267 assert mvar.VarStore.VarRegionList.RegionCount == 3
268 assert mvar.VarStore.VarData[0].VarRegionCount == 3
269 assert all(len(item) == 3 for item in mvar.VarStore.VarData[0].Item)
271 assert mvar.VarStore.VarData[1].VarRegionCount == 1
272 assert all(len(item) == 1 for item in mvar.VarStore.VarData[1].Item)
281 num_regions_left = len(mvar.VarStore.VarRegionList.Region)
283 assert mvar.VarStore.VarRegionList.RegionCount == num_regions_left
284 assert mvar.VarStore.VarData[0].VarRegionCount == num_regions_left
286 assert len(mvar.VarStore.VarData) == 1
[all …]
/external/fonttools/Lib/fontTools/varLib/
Dmutator.py119 varStoreInstancer = VarStoreInstancer(hvar_table.VarStore, fvar.axes, loc)
231 vsInstancer = VarStoreInstancer(topDict.VarStore.otVarStore, fvar.axes, loc)
238 del topDict.VarStore
243 varStoreInstancer = VarStoreInstancer(mvar.VarStore, fvar.axes, loc)
290 instancer = VarStoreInstancer(gdef.VarStore, fvar.axes, loc)
296 del gdef.VarStore
DvarStore.py246 ot.VarStore.subset_varidxes = VarStore_subset_varidxes
272 ot.VarStore.prune_regions = VarStore_prune_regions
541 ot.VarStore.optimize = VarStore_optimize
564 store = gdef.table.VarStore
Dbuilder.py94 self = ot.VarStore()
D__init__.py424 vhvar.VarStore = metricsStore
591 mvar.VarStore = store
611 base.VarStore = store
637 GDEF.VarStore = store
Dcff.py42 topDict.VarStore = VarStoreData(otVarStore=varStoreCFFV)
47 fontDict.Private.vstore = topDict.VarStore
/external/fonttools/Lib/fontTools/colorLib/
Dunbuilder.py76 ignoreVarIdx=not colr.table.VarStore,
Dbuilder.py182 varStore: Optional[ot.VarStore] = None, argument
234 colr.VarStore = varStore
/external/fonttools/Lib/fontTools/varLib/instancer/
D__init__.py433 varStore = mvar.VarStore
466 varStore = vhvar.VarStore
632 or not varfont["GDEF"].table.VarStore
643 varStore = gdef.VarStore
669 del gdef.VarStore
/external/fonttools/Tests/colorLib/
Dbuilder_test.py1364 assert colr.table.VarStore is None
1466 assert colr.table.VarStore is None
1512 assert colr.table.VarStore is None
/external/fonttools/Lib/fontTools/cffLib/
D__init__.py274 fontDict.Private.vstore = topDict.VarStore
910 self.otVarStore = ot.VarStore()
925 self.otVarStore = ot.VarStore()
1819 vstore = parent.VarStore
2342 varStoreData = self.dictObj.VarStore
/external/fonttools/Lib/fontTools/
DfontBuilder.py633 topDict.VarStore = vstore
/external/fonttools/
DNEWS.rst136 - [varLib] Fixed bug in VarStore optimizer (#2073, #2083).
488 - [otBase/otTables] Enforce that VarStore.RegionAxisCount == fvar.axisCount, even
624 the VarStore state was not propagated to PrivateDict (#1598).
646 masters, or masters with more than one model (multiple ``VarStore.VarData``).
1013 - [subset] Don't drop a GDEF that only has VarStore (fc819d6). Set to None
1058 - [varLib] Don't remap the same ``DeviceTable`` twice in VarStore optimizer
1108 - [varLib] Implemented VarStore optimizer (#1184).
1109 - [subset] Implemented pruning of GDEF VarStore, HVAR and MVAR (#1179).
/external/fonttools/Lib/fontTools/subset/
D__init__.py1710 store = table.VarStore
1741 if table.VarStore.VarDataCount == 0:
1755 (table.Version >= 0x00010003 and table.VarStore))
1881 varidx_map = table.VarStore.subset_varidxes(used, retainFirstMap=retainAdvMap, advIdxes=advIdxes_)
1919 varidx_map = table.VarStore.subset_varidxes(used, retainFirstMap=retainAdvMap, advIdxes=advIdxes_)