-
Notifications
You must be signed in to change notification settings - Fork 93
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
Generating fonts from Designspace failed: Tried to end an empty contour. #1001
Comments
thanks. what's the full traceback for the error that you get when you run in --verbose DEBUG? |
it must come from the TTGlyphPointPen.endPath method: @jenskutilek do you remember why you added that check for empty contours in the TTGlyphPointPen? I would think that it's ok if we simply ignore these when creating a TTGlyph, they should be harmless |
The full log is 28 MB. Which snippet do you want? Here is the last part:
|
Thanks, I made this PR in fonttools to ignore such empty contours: fonttools/fonttools#3145 it's weird that you end up with these. I hacked ufo2ft to print the name of the glyph where that exception occurs and it gave me "zero.dnom.afrc", but I can't see any empty contours in there.. probably because they are empty! 😅 I'd be curious to know how one ends up with these.. |
Alright. I had a look and In any even, I deleted the glyph and made it again. Some of the other I don’t know what to say … we are dealing with Glyphs here. So after this operation I got a lot further in the process. |
Ha, you already said back then that the error may be too harsh :) fonttools/fonttools#2205 (comment) I'm fine with dropping the assertion. |
I’m trying to generate a VF from a Glyphs project, but I’m getting this error:
--verbose DEBUG
is not helpful. Is there a way to be clued in on what and/or where the issue specifically occur?The text was updated successfully, but these errors were encountered: