Searched refs:TTLibError (Results 1 - 25 of 26) sorted by relevance

12

/external/fonttools/Lib/fontTools/ttLib/tables/
H A DsbixBitmap.py33 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)
H A DsbixBitmapSet.py33 raise ttLib.TTLibError
36 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)
H A DC_F_F_.py32 raise ttLib.TTLibError("illegal use of getGlyphOrder()")
H A DDefaultTable.py36 raise ttLib.TTLibError("can't handle '%s' element" % name)
H A DO_S_2f_2.py117 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)
H A D_s_b_i_x.py91 raise ttLib.TTLibError("Pixel 'size' must be unique for each BitmapSet")
136 raise ttLib.TTLibError("can't handle '%s' element" % name)
H A D_p_o_s_t.py44 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()")
H A D_g_l_y_f.py49 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")
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DsbixBitmap.py33 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)
H A DsbixBitmapSet.py33 raise ttLib.TTLibError
36 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)
H A DC_F_F_.py32 raise ttLib.TTLibError("illegal use of getGlyphOrder()")
H A DDefaultTable.py36 raise ttLib.TTLibError("can't handle '%s' element" % name)
H A DO_S_2f_2.py117 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)
H A D_s_b_i_x.py91 raise ttLib.TTLibError("Pixel 'size' must be unique for each BitmapSet")
136 raise ttLib.TTLibError("can't handle '%s' element" % name)
H A D_p_o_s_t.py44 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()")
H A D_g_l_y_f.py49 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")
/external/fonttools/Lib/fontTools/ttLib/
H A DmacUtils.py53 raise ttLib.TTLibError("no fonts found in file '%s'" % path)
90 raise ttLib.TTLibError("can't make 'sfnt' resource, no Macintosh 'name' table found")
H A Dsfnt.py38 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(tables)))
H A D__init__.py57 class TTLibError(Exception): pass class in inherits:Exception
663 raise TTLibError("Font contains no outlines")
/external/fonttools/Lib/fontTools/
H A Dttx.py71 from fontTools.ttLib import TTFont, TTLibError namespace
317 except TTLibError as e:
H A Dinspect.py78 except (AttributeError, KeyError, TypeError, ttLib.TTLibError):
/external/fonttools/Tools/fontTools/ttLib/
H A DmacUtils.py53 raise ttLib.TTLibError("no fonts found in file '%s'" % path)
90 raise ttLib.TTLibError("can't make 'sfnt' resource, no Macintosh 'name' table found")
H A Dsfnt.py38 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(tables)))
/external/fonttools/Tools/fontTools/
H A Dttx.py71 from fontTools.ttLib import TTFont, TTLibError namespace
317 except TTLibError as e:
H A Dinspect.py78 except (AttributeError, KeyError, TypeError, ttLib.TTLibError):

Completed in 5375 milliseconds

12