Home
last modified time | relevance | path

Searched refs:axisRange (Results 1 – 3 of 3) sorted by relevance

/external/fonttools/Lib/fontTools/varLib/instancer/
D__init__.py220 for axisTag, axisRange in sorted(axisRanges.items()):
223 newVariations.extend(limitTupleVariationAxisRange(var, axisTag, axisRange))
232 def limitTupleVariationAxisRange(var, axisTag, axisRange): argument
233 if not isinstance(axisRange, NormalizedAxisRange):
234 axisRange = NormalizedAxisRange(*axisRange)
244 if axisRange.minimum == -1.0:
246 elif axisRange.minimum == 0.0:
249 if axisRange.maximum == 1.0:
251 elif axisRange.maximum == 0.0:
254 limit = axisRange.minimum if negative else axisRange.maximum
[all …]
/external/fonttools/Tests/varLib/instancer/
Dinstancer_test.py1657 def check_limit_single_var_axis_range(self, var, axisTag, axisRange, expected): argument
1658 result = instancer.limitTupleVariationAxisRange(var, axisTag, axisRange)
1740 axisRange = instancer.NormalizedAxisRange(0, newMax)
1741 self.check_limit_single_var_axis_range(var, axisTag, axisRange, expected)
1819 axisRange = instancer.NormalizedAxisRange(newMin, 0)
1820 self.check_limit_single_var_axis_range(var, axisTag, axisRange, expected)
/external/skia/src/ports/
DSkFontMgr_win_dw.cpp1061 const DWRITE_FONT_AXIS_RANGE& axisRange = axisRanges[i]; in apply_fontdata_variation() local
1062 coordinate.axisTag = axisRange.axisTag; in apply_fontdata_variation()
1064 axisRange.minValue, axisRange.maxValue); in apply_fontdata_variation()