Home
last modified time | relevance | path

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

/external/fonttools/Tests/varLib/instancer/
Dinstancer_test.py1293 def test_limit_axes(self, varfont2): argument
1294 instancer.instantiateSTAT(varfont2, {"wght": (400, 500), "wdth": (75, 100)})
1296 assert len(varfont2["STAT"].table.AxisValueArray.AxisValue) == 5
1297 assert self.get_STAT_axis_values(varfont2["STAT"].table) == [
1305 def test_limit_axis_value_format_4(self, varfont2): argument
1306 stat = varfont2["STAT"].table
1320 instancer.instantiateSTAT(varfont2, {"wght": (100, 600)})
1322 assert axisValue in varfont2["STAT"].table.AxisValueArray.AxisValue
1324 instancer.instantiateSTAT(varfont2, {"wdth": (62.5, 87.5)})
1326 assert axisValue not in varfont2["STAT"].table.AxisValueArray.AxisValue
[all …]