diff --git a/src/fontra/backends/designspace.py b/src/fontra/backends/designspace.py index e8073dde9..d154d78b8 100644 --- a/src/fontra/backends/designspace.py +++ b/src/fontra/backends/designspace.py @@ -524,6 +524,7 @@ def _newUFOLayer(self, glyphName, ufoPath, suggestedLayerName): # does not exist. count += 1 ufoLayerName = f"{suggestedLayerName}#{count}" + if ufoLayerName not in existingLayerNames: reader.writeLayerContents()