googlefonts / ufo2ft

A bridge from UFOs to FontTools objects (and therefore, OTFs and TTFs).
MIT License
151 stars 43 forks source link

compileVariableTTF() got unexpected keyword arguments: 'flattenComponents', 'cubicConversionError' #551

Closed justvanrossum closed 2 years ago

justvanrossum commented 2 years ago

Not 100% sure this is a ufo2ft problem or fontmake being out of sync, but I'm getting the following error when building a variable font with fontmake:

$ fontmake --output variable -m MutatorSans.designspace
INFO:fontmake.font_project:Building variable font variable_ttf/MutatorSans-VF.ttf
fontmake: Error: In 'MutatorSans.designspace': Generating fonts from Designspace failed: compileVariableTTF() got unexpected keyword arguments: 'flattenComponents', 'cubicConversionError'
anthrotype commented 2 years ago

Thanks Just, looks like a bug, I'll take a look now. In the meantime please downgrade ufo2ft to the previous version