Skip to content

Commit

Permalink
show what happens when getting the guideline color
Browse files Browse the repository at this point in the history
get the guideline color so we don't trip if the dict doesn't have it. Yet, this causes a different traceback
  • Loading branch information
LettError committed Jan 5, 2023
1 parent d28a58f commit b4cb042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/fontParts/base/glyph.py
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,7 @@ def _fromMathGlyph(self, mathGlyph, toThisGlyph=False, filterRedundantPoints=Tru
position=(guideline["x"], guideline["y"]),
angle=guideline["angle"],
name=guideline.get("name"),
#color=guideline.get("color") # XX
color=guideline.get("color") # XX
)
identifier = guideline.get("identifier")
if identifier is not None:
Expand Down

0 comments on commit b4cb042

Please sign in to comment.