Home
last modified time | relevance | path

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

/external/fonttools/Tests/designspaceLib/
Ddesignspace_test.py155 r1.conditionSets.append([
324 r1.conditionSets.append([
645 r1.conditionSets.append([
665 r2.conditionSets.append([dict(name='axisName_a', maximum=500)])
675 r3.conditionSets.append([dict(name='axisName_a', minimum=500)])
685 r4.conditionSets.append([
718 r1.conditionSets.append([
726 assert len(doc.rules[0].conditionSets) == 1
727 assert len(doc.rules[0].conditionSets[0]) == 2
729 assert doc.rules[0].conditionSets == [[
[all …]
/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py175 def __init__(self, *, name=None, conditionSets=None, subs=None): argument
178 self.conditionSets = conditionSets or []
185 return any(evaluateConditions(c, location) for c in rule.conditionSets)
496 for conditions in ruleObject.conditionSets:
759 ruleObject.conditionSets.append(externalConditions)
771 ruleObject.conditionSets.append(conditionSet)
1344 for conditions in rule.conditionSets:
1357 rule.conditionSets = newConditionSets
/external/fonttools/Doc/source/designspaceLib/
Dreadme.rst295 - ``conditionSets``: a list of conditionsets
316 r1.conditionSets.append([dict(name="weight", minimum=-10, maximum=10), dict(...)])
317 r1.conditionSets.append([dict(...), dict(...)])
/external/fonttools/Lib/fontTools/varLib/
D__init__.py661 for conditions in rule.conditionSets: