Searched refs:axisOrder (Results 1 – 9 of 9) sorted by relevance
/external/fonttools/Lib/fontTools/varLib/ |
D | models.py | 200 def __init__(self, locations, axisOrder=None): argument 205 self.axisOrder = axisOrder if axisOrder is not None else [] 208 keyFunc = self.getMasterLocationsSortKeyFunc(locations, axisOrder=self.axisOrder) 224 subModel = VariationModel(subList(key, self.origLocations), self.axisOrder) 229 def getMasterLocationsSortKeyFunc(locations, axisOrder=[]): argument 245 def getKey(axisPoints, axisOrder): argument 255 orderedAxes = [axis for axis in axisOrder if axis in loc] 256 orderedAxes.extend([axis for axis in sorted(loc.keys()) if axis not in axisOrder]) 260 …tuple(axisOrder.index(axis) if axis in axisOrder else 0x10000 for axis in orderedAxes), # Next, by… 267 ret = getKey(axisPoints, axisOrder)
|
D | __init__.py | 913 model = models.VariationModel(normalized_master_locs, axisOrder=axisTags)
|
/external/fonttools/Tests/varLib/ |
D | models_test.py | 138 self, locations, axisOrder, sortedLocs, supports, deltaWeights argument 140 model = VariationModel(locations, axisOrder=axisOrder)
|
/external/fonttools/Tests/varLib/instancer/ |
D | instancer_test.py | 405 axisOrder = ["wght", "wdth", "opsz"] 407 region = builder.buildVarRegion(regionAxes, axisOrder) 412 fvarAxes = [SimpleNamespace(axisTag=axisTag) for axisTag in axisOrder] 479 axisOrder = ["wght", "wdth"] 502 regions, axisOrder, tupleVarData, itemCounts=[2, 2] 522 axisOrder = ["wght", "wdth"] 528 regions, axisOrder, tupleVarData, itemCounts=[1, 1] 558 axisOrder = [axis.axisTag for axis in fvarAxes] 561 builder.buildVarRegionList(regions, axisOrder), 607 assert adapter.axisOrder == axisOrder [all …]
|
/external/fonttools/Lib/fontTools/varLib/instancer/ |
D | __init__.py | 497 def __init__(self, regions, axisOrder, tupleVarData, itemCounts): argument 499 self.axisOrder = axisOrder 505 axisOrder = [axis.axisTag for axis in fvarAxes] 518 return cls(regions, axisOrder, tupleVarData, itemCounts) 558 self.axisOrder = [ 559 axisTag for axisTag in self.axisOrder if axisTag not in pinnedAxes 581 regionList = builder.buildVarRegionList(self.regions, self.axisOrder) 833 axisOrder = [axis.axisTag for axis in fvarAxes if axis.axisTag not in pinnedAxes] 834 axisIndexMap = {axisTag: axisOrder.index(axisTag) for axisTag in axisOrder}
|
/external/fonttools/Lib/fontTools/feaLib/ |
D | builder.py | 543 if designAxis.axisOrder in (r.axisOrder for r in self.stat_["DesignAxes"]): 620 "ordering": a.axisOrder,
|
D | ast.py | 1912 def __init__(self, tag, axisOrder, names, location=None): argument 1915 self.axisOrder = axisOrder
|
D | parser.py | 1353 axisOrder = self.expect_number_() 1375 axisTag, axisOrder, names, self.cur_token_location_
|
/external/fonttools/Tests/feaLib/ |
D | parser_test.py | 1289 self.assertEqual(da.axisOrder, 0)
|