Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/ufoLib/
D__init__.py1461 def renameGlyphSet(self, layerName, newLayerName, defaultLayer=False): argument
1475 if layerName == newLayerName:
1484 if newLayerName is None:
1485 newLayerName = DEFAULT_LAYER_NAME
1486 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