fontMath
fontMath copied to clipboard
guideline api
there is a difference between fontParts and defcon in defcon a guideline is actually a dict and fontMath iterates over all the keywords
This is not possible in fontParts...
g = CurrentGlyph()
for key in g.naked().guidelines[0]:
print(key)
for key in g.guidelines[0]:
print(key)
x
y
angle
identifier
Traceback (most recent call last):
File "<untitled>", line 5, in <module>
TypeError: 'RGuideline' object is not iterable