-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change how anchor name value is gotten #679
base: master
Are you sure you want to change the base?
Conversation
the |
Agree, changed. Still not going to solve @LettError's problem, unfortunately |
But look how fontParts/Lib/fontParts/base/glyph.py Lines 1641 to 1649 in f5250dc
I don't quite understand what "the spec" (which spec?) has to do with this. |
Would like to test, but how do I get this code to run locally? |
Perhaps I'm nitpicking, but what I mean is, this is just an object implementation, and it can decide by itself whether it demands those attributes to exist or not. Perhaps it requires the "missing" attributes to be substituted by None. The spec specifies the format, not how objects should be implemented. |
Also use get() for the guideline name and guideline color. There is a new, additional traceback relating to color in the issue discussion.
get the guideline color so we don't trip if the dict doesn't have it. Yet, this causes a different traceback
This should account for getting a value that doesn't exist in a math glyph, addressing #678