Searched refs:supportScalar (Results 1 – 5 of 5) sorted by relevance
/external/fonttools/Tests/varLib/ |
D | models_test.py | 4 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/ |
D | plot.py | 5 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)
|
D | models.py | 99 def supportScalar(location, support, ot=True): function 341 scalar = supportScalar(loc, supports[j]) 365 return [supportScalar(loc, support) for support in self.supports]
|
D | mutator.py | 15 supportScalar, 196 scalar = supportScalar(loc, var.axes) 215 scalar = supportScalar(loc, var.axes)
|
D | varStore.py | 5 from fontTools.varLib.models import supportScalar 161 scalar = supportScalar(self.location, support)
|