Searched refs:GlifLibError (Results 1 – 6 of 6) sorted by relevance
/external/fonttools/Tests/ufoLib/ |
D | GLIF2_test.py | 4 from fontTools.ufoLib.glifLib import GlifLibError, readGlyphFromString, writeGlyphToString 48 self.assertRaises(GlifLibError, self.glifToPy, glif) 77 self.assertRaises(GlifLibError, self.pyToGLIF, py) 78 self.assertRaises(GlifLibError, self.glifToPy, glif) 85 self.assertRaises(GlifLibError, self.pyToGLIF, py) 111 self.assertRaises(GlifLibError, self.glifToPy, glif) 121 self.assertRaises(GlifLibError, self.glifToPy, glif) 130 self.assertRaises(GlifLibError, self.glifToPy, glif) 139 self.assertRaises(GlifLibError, self.glifToPy, glif) 228 self.assertRaises(GlifLibError, self.pyToGLIF, py) [all …]
|
D | GLIF1_test.py | 4 from fontTools.ufoLib.glifLib import GlifLibError, readGlyphFromString, writeGlyphToString 48 self.assertRaises(GlifLibError, self.glifToPy, glif) 77 self.assertRaises(GlifLibError, self.pyToGLIF, py) 78 self.assertRaises(GlifLibError, self.glifToPy, glif) 85 self.assertRaises(GlifLibError, self.pyToGLIF, py) 111 self.assertRaises(GlifLibError, self.glifToPy, glif) 121 self.assertRaises(GlifLibError, self.glifToPy, glif) 130 self.assertRaises(GlifLibError, self.glifToPy, glif) 139 self.assertRaises(GlifLibError, self.glifToPy, glif) 228 self.assertRaises(GlifLibError, self.pyToGLIF, py) [all …]
|
D | UFO3_test.py | 10 from fontTools.ufoLib.glifLib import GlifLibError 4413 self.assertRaises(GlifLibError, glyphSet.readLayerInfo, info) 4422 self.assertRaises(GlifLibError, glyphSet.readLayerInfo, TestLayerInfoObject()) 4429 self.assertRaises(GlifLibError, glyphSet.readLayerInfo, TestLayerInfoObject()) 4435 self.assertRaises(GlifLibError, glyphSet.readLayerInfo, TestLayerInfoObject()) 4441 self.assertRaises(GlifLibError, glyphSet.readLayerInfo, TestLayerInfoObject()) 4448 self.assertRaises(GlifLibError, glyphSet.readLayerInfo, TestLayerInfoObject()) 4454 self.assertRaises(GlifLibError, glyphSet.readLayerInfo, TestLayerInfoObject()) 4460 self.assertRaises(GlifLibError, glyphSet.readLayerInfo, TestLayerInfoObject()) 4466 self.assertRaises(GlifLibError, glyphSet.readLayerInfo, TestLayerInfoObject()) [all …]
|
D | UFOZ_test.py | 5 from fontTools.ufoLib.errors import UFOLibError, GlifLibError
|
/external/fonttools/Lib/fontTools/ufoLib/ |
D | glifLib.py | 25 from fontTools.ufoLib.errors import GlifLibError 131 raise GlifLibError("Unsupported UFO format version: %s" % ufoFormatVersion) 136 raise GlifLibError("No glyphs directory '%s'" % path) 143 raise GlifLibError("the filesystem '%s' is closed" % filesystem) 195 raise GlifLibError( 200 raise GlifLibError("%s is not properly formatted" % CONTENTS_FILENAME) 240 raise GlifLibError("layerinfo.plist is not properly formatted.") 247 …raise GlifLibError("The supplied layer info object does not support setting a necessary attribute … 257 raise GlifLibError("layerinfo.plist is not allowed in UFO %d." % self.ufoFormatVersion) 265 …raise GlifLibError("The supplied info object does not support getting a necessary attribute (%s)."… [all …]
|
D | errors.py | 8 class GlifLibError(UFOLibError): class
|