Searched refs:newLayerName (Results 1 – 1 of 1) sorted by relevance
1567 def renameGlyphSet(self, layerName, newLayerName, defaultLayer=False): argument1581 if layerName == newLayerName:1590 if newLayerName is None:1591 newLayerName = DEFAULT_LAYER_NAME1592 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