Home
last modified time | relevance | path

Searched refs:supportScalar (Results 1 – 6 of 6) sorted by relevance

/external/fonttools/Tests/varLib/
Dmodels_test.py2 normalizeLocation, supportScalar, VariationModel, VariationModelError)
31 assert supportScalar({}, {}) == 1.0
32 assert supportScalar({'wght':.2}, {}) == 1.0
33 assert supportScalar({'wght':.2}, {'wght':(0,2,3)}) == 0.1
34 assert supportScalar({'wght':2.5}, {'wght':(0,2,4)}) == 0.75
/external/fonttools/Lib/fontTools/varLib/
Dplot.py3 from fontTools.varLib.models import VariationModel, supportScalar
83 y = supportScalar({axis:x}, support)
110 z = supportScalar({ax1:x, ax2:y}, support)
118 z = supportScalar({ax1:x, ax2:y}, support)
Dmodels.py107 def supportScalar(location, support, ot=True): function
365 scalar = supportScalar(loc, self.supports[j])
387 return [supportScalar(loc, support) for support in self.supports]
Dmutator.py13 supportScalar,
200 scalar = supportScalar(loc, var.axes)
218 scalar = supportScalar(loc, var.axes)
DvarStore.py3 from fontTools.varLib.models import supportScalar
159 scalar = supportScalar(self.location, support)
/external/fonttools/Lib/fontTools/varLib/instancer/
D__init__.py75 from fontTools.varLib.models import supportScalar, normalizeValue, piecewiseLinearMap
209 scalar = supportScalar(location, support)
279 scalar = supportScalar({axisTag: limit}, {axisTag: (lower, peak, upper)})
317 scalar1 = supportScalar({axisTag: limit}, {axisTag: (lower, peak, upper)})