The following doesn't do anything. What is wrong?
f = CurrentFont() f.generate(f.path[:-4], 'otf', decompose=False, checkOutlines=False, autohint=True, releaseMode=True, glyphOrder=None, progressBar=None)
What is the parameter of the
progressBarto see it?
does your font has a path? the path attribute with unsaved fonts is
try printing out the message send back from the generate method:
progressBarargument should be an
Controllersimilar to a progressWindow.
the required methods are
Ah thank. It works alright. With print I found that in the features there was something not okay: empty group 
new question: is there already a super handy script which remove glyphnames -that not appear in the ufo- from the featuresfile?