Home
last modified time | relevance | path

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

/external/fonttools/Tests/ufoLib/
DglifLib_test.py9 GlyphSet, glyphNameToFileName, readGlyphFromString, writeGlyphToString,
101 return "prefix" + glyphNameToFileName(glyphName, glyphSet)
128 assert glyphNameToFileName("a", None) == "a.glif"
129 assert glyphNameToFileName("A", None) == "A_.glif"
130 assert glyphNameToFileName("Aring", None) == "A_ring.glif"
131 assert glyphNameToFileName("F_A_B", None) == "F__A__B_.glif"
132 assert glyphNameToFileName("A.alt", None) == "A_.alt.glif"
133 assert glyphNameToFileName("A.Alt", None) == "A_.A_lt.glif"
134 assert glyphNameToFileName(".notdef", None) == "_notdef.glif"
135 assert glyphNameToFileName("T_H", None) =="T__H_.glif"
[all …]
/external/fonttools/Lib/fontTools/ufoLib/
DglifLib.py204 glyphNameToFileNameFunc = glyphNameToFileName
205 self.glyphNameToFileName = glyphNameToFileNameFunc
461 fileName = self.glyphNameToFileName(glyphName, self._existingFileNames.values())
573 def glyphNameToFileName(glyphName, existingFileNames): function