diff --git a/Lib/ufo2ft/_compilers/interpolatableOTFCompiler.py b/Lib/ufo2ft/_compilers/interpolatableOTFCompiler.py index 26a139ae..c9c668e1 100644 --- a/Lib/ufo2ft/_compilers/interpolatableOTFCompiler.py +++ b/Lib/ufo2ft/_compilers/interpolatableOTFCompiler.py @@ -46,7 +46,10 @@ def compile_designspace(self, designSpaceDoc): _tables=SPARSE_OTF_MASTER_TABLES if source.layerName else None, ), } - compiler = InterpolatableOTFCompiler(**args) + # Remove interpolatable-specific args + del args["variableFontNames"] + del args["excludeVariationTables"] + compiler = OTFCompiler(**args) self.extraSubstitutions = save_extraSubstitutions otfs.append(compiler.compile(source.font)) return self._post_compile_designspace(designSpaceDoc, otfs)