Searched refs:TTLibError (Results 1 – 13 of 13) sorted by relevance
33 raise ttLib.TTLibError("No table data to decompile")38 raise ttLib.TTLibError("Bitmap header too short.")56 raise ttLib.TTLibError("Can't compile bitmap without glyph name")104 raise ttLib.TTLibError("can't handle '%s' element" % name)
33 raise ttLib.TTLibError36 raise(ttLib.TTLibError, "BitmapSet header too short: Expected %x, got %x.") \128 raise ttLib.TTLibError("Bitmap must have a glyph name.")138 raise ttLib.TTLibError("can't handle '%s' element" % name)
91 raise ttLib.TTLibError("Pixel 'size' must be unique for each BitmapSet")136 raise ttLib.TTLibError("can't handle '%s' element" % name)
117 raise ttLib.TTLibError("unknown format for OS/2 table: version %s" % self.version)139 raise ttLib.TTLibError("unknown format for OS/2 table: version %s" % self.version)
44 raise ttLib.TTLibError("'post' table format %f not supported" % self.formatType)58 raise ttLib.TTLibError("'post' table format %f not supported" % self.formatType)67 raise ttLib.TTLibError("illegal use of getGlyphOrder()")
32 raise ttLib.TTLibError("illegal use of getGlyphOrder()")
36 raise ttLib.TTLibError("can't handle '%s' element" % name)
49 raise ttLib.TTLibError("not enough 'glyf' table data")290 raise ttLib.TTLibError("can't mix composites and contours in glyph")313 raise ttLib.TTLibError("can't mix composites and contours in glyph")619 raise ttLib.TTLibError("can't use glyph as sequence")
38 … raise ttLib.TTLibError("specify a font number between 0 and %d (inclusive)" % (self.numFonts - 1))54 raise ttLib.TTLibError("Not a TrueType or OpenType font (bad sfntVersion)")139 raise ttLib.TTLibError("cannot rewrite '%s' table: length does not match directory entry" % tag)174 …raise ttLib.TTLibError("wrong number of tables; expected %d, found %d" % (self.numTables, len(tabl…
53 raise ttLib.TTLibError("no fonts found in file '%s'" % path)90 raise ttLib.TTLibError("can't make 'sfnt' resource, no Macintosh 'name' table found")
57 class TTLibError(Exception): pass class663 raise TTLibError("Font contains no outlines")
71 from fontTools.ttLib import TTFont, TTLibError317 except TTLibError as e:
78 except (AttributeError, KeyError, TypeError, ttLib.TTLibError):