Home
last modified time | relevance | path

Searched refs:newLayerName (Results 1 – 1 of 1) sorted by relevance

/external/fonttools/Lib/fontTools/ufoLib/
D__init__.py1567 def renameGlyphSet(self, layerName, newLayerName, defaultLayer=False): argument
1581 if layerName == newLayerName:
1590 if newLayerName is None:
1591 newLayerName = DEFAULT_LAYER_NAME
1592 if newLayerName in self.layerContents:
1593 raise UFOLibError("A layer named %s already exists." % newLayerName)
1603 newDirectory = userNameToFileName(newLayerName, existing=existing, prefix="glyphs.")
1606 self.layerContents[newLayerName] = newDirectory