Skip to content

guideline api #122

@typemytype

Description

@typemytype

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions