Searched refs:newLayerName (Results 1 – 1 of 1) sorted by relevance
1461 def renameGlyphSet(self, layerName, newLayerName, defaultLayer=False): argument1475 if layerName == newLayerName:1484 if newLayerName is None:1485 newLayerName = DEFAULT_LAYER_NAME1486 if newLayerName in self.layerContents:1487 raise UFOLibError("A layer named %s already exists." % newLayerName)1497 newDirectory = userNameToFileName(newLayerName, existing=existing, prefix="glyphs.")1500 self.layerContents[newLayerName] = newDirectory