Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/ttLib/tables/
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)
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)
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)
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)
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()")
DC_F_F_.py32 raise ttLib.TTLibError("illegal use of getGlyphOrder()")
DDefaultTable.py36 raise ttLib.TTLibError("can't handle '%s' element" % name)
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/
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(tabl…
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")
D__init__.py57 class TTLibError(Exception): pass class
663 raise TTLibError("Font contains no outlines")
/external/fonttools/Lib/fontTools/
Dttx.py71 from fontTools.ttLib import TTFont, TTLibError
317 except TTLibError as e:
Dinspect.py78 except (AttributeError, KeyError, TypeError, ttLib.TTLibError):