Is there a solution to some versions of glyphs2 without the attribute segment.type
What do you mean?
This is my colleague’s glyphs2 error, but my glyphs2 does not report an error
What is printed if you change the line to print(i)
?
paths
is no longer a list in Glyphs 3. Instead, use layer.shapes[0]
Note that the shapes list also contains other shape types like components.
See here for details:
In Glyphs 2, if you install and use the robofab library, the definition of path.segments
can change.
thanks,very much,i will have a try
thanks,very much!