fontMath icon indicating copy to clipboard operation
fontMath copied to clipboard

guideline api

Open typemytype opened this issue 7 years ago • 0 comments

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

typemytype avatar Aug 21 '18 14:08 typemytype