Home
last modified time | relevance | path

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

/external/fonttools/Tests/varLib/
Dmodels_test.py4 normalizeLocation, supportScalar, VariationModel)
33 assert supportScalar({}, {}) == 1.0
34 assert supportScalar({'wght':.2}, {}) == 1.0
35 assert supportScalar({'wght':.2}, {'wght':(0,2,3)}) == 0.1
36 assert supportScalar({'wght':2.5}, {'wght':(0,2,4)}) == 0.75
/external/fonttools/Lib/fontTools/varLib/
Dplot.py5 from fontTools.varLib.models import VariationModel, supportScalar
85 y = supportScalar({axis:x}, support)
112 z = supportScalar({ax1:x, ax2:y}, support)
120 z = supportScalar({ax1:x, ax2:y}, support)
Dmodels.py99 def supportScalar(location, support, ot=True): function
341 scalar = supportScalar(loc, supports[j])
365 return [supportScalar(loc, support) for support in self.supports]
Dmutator.py15 supportScalar,
196 scalar = supportScalar(loc, var.axes)
215 scalar = supportScalar(loc, var.axes)
DvarStore.py5 from fontTools.varLib.models import supportScalar
161 scalar = supportScalar(self.location, support)