You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a .glyphs file that has a component in the background. It points to the same glyph. So you see whatever is in the foreground. When exporting that font with fontmake, defcon is trapped in a recursion.
I hope that I have the latest version of all libs
File "/usr/local/bin/fontmake", line 11, in <module>
sys.exit(main())
File "/Library/Python/2.7/site-packages/fontmake/__main__.py", line 258, in main
project.run_from_glyphs(glyphs_path, **args)
File "/Library/Python/2.7/site-packages/fontmake/font_project.py", line 560, in run_from_glyphs
mti_source=mti_source)
File "/Library/Python/2.7/site-packages/fontTools/misc/loggingTools.py", line 372, in wrapper
return func(*args, **kwds)
File "/Library/Python/2.7/site-packages/fontmake/font_project.py", line 131, in build_master_ufos
font, family_name=family_name, instance_dir=instance_dir)
File "/Library/Python/2.7/site-packages/glyphsLib/builder/__init__.py", line 104, in to_designspace
return builder.designspace
File "/Library/Python/2.7/site-packages/glyphsLib/builder/builders.py", line 210, in designspace
list(self.masters) # Make sure that the UFOs are built
File "/Library/Python/2.7/site-packages/glyphsLib/builder/builders.py", line 157, in masters
self.to_ufo_glyph(ufo_glyph, layer, glyph)
File "/Library/Python/2.7/site-packages/glyphsLib/builder/glyph.py", line 116, in to_ufo_glyph
self.to_ufo_glyph_background(ufo_glyph, layer)
File "/Library/Python/2.7/site-packages/glyphsLib/builder/glyph.py", line 253, in to_ufo_glyph_background
self.to_ufo_components(new_glyph, background)
File "/Library/Python/2.7/site-packages/glyphsLib/builder/components.py", line 28, in to_ufo_components
pen.addComponent(component.name, component.transform)
File "/Library/Python/2.7/site-packages/defcon/pens/glyphObjectPointPen.py", line 37, in addComponent
self._glyph.appendComponent(component)
File "/Library/Python/2.7/site-packages/defcon/objects/glyph.py", line 708, in appendComponent
self.insertComponent(len(self._components), component)
File "/Library/Python/2.7/site-packages/defcon/objects/glyph.py", line 732, in insertComponent
self.postNotification(notification="Glyph.ComponentsChanged")
File "/Library/Python/2.7/site-packages/defcon/objects/base.py", line 223, in postNotification
dispatcher.postNotification(notification=notification, observable=self, data=data)
File "/Library/Python/2.7/site-packages/defcon/tools/notifications.py", line 201, in postNotification
callback(notificationObj)
File "/Library/Python/2.7/site-packages/defcon/objects/component.py", line 385, in baseGlyphDataChangedNotificationCallback
self.postNotification("Component.BaseGlyphDataChanged")
File "/Library/Python/2.7/site-packages/defcon/objects/base.py", line 223, in postNotification
dispatcher.postNotification(notification=notification, observable=self, data=data)
File "/Library/Python/2.7/site-packages/defcon/tools/notifications.py", line 201, in postNotification
callback(notificationObj)
File "/Library/Python/2.7/site-packages/defcon/objects/glyph.py", line 1299, in _componentBaseGlyphDataChanged
self.postNotification(notification="Glyph.ComponentsChanged")
File "/Library/Python/2.7/site-packages/defcon/objects/base.py", line 223, in postNotification
dispatcher.postNotification(notification=notification, observable=self, data=data)
File "/Library/Python/2.7/site-packages/defcon/tools/notifications.py", line 201, in postNotification
callback(notificationObj)
File "/Library/Python/2.7/site-packages/defcon/objects/component.py", line 385, in baseGlyphDataChangedNotificationCallback
self.postNotification("Component.BaseGlyphDataChanged")
File "/Library/Python/2.7/site-packages/defcon/objects/base.py", line 223, in postNotification
dispatcher.postNotification(notification=notification, observable=self, data=data)
File "/Library/Python/2.7/site-packages/defcon/tools/notifications.py", line 201, in postNotification
callback(notificationObj)
File "/Library/Python/2.7/site-packages/defcon/objects/glyph.py", line 1299, in _componentBaseGlyphDataChanged
self.postNotification(notification="Glyph.ComponentsChanged")
File "/Library/Python/2.7/site-packages/defcon/objects/base.py", line 223, in postNotification
dispatcher.postNotification(notification=notification, observable=self, data=data)
File "/Library/Python/2.7/site-packages/defcon/tools/notifications.py", line 201, in postNotification
callback(notificationObj)
...
``
The text was updated successfully, but these errors were encountered:
I have a .glyphs file that has a component in the background. It points to the same glyph. So you see whatever is in the foreground. When exporting that font with fontmake, defcon is trapped in a recursion.
I hope that I have the latest version of all libs
The text was updated successfully, but these errors were encountered: