Lines Matching refs:TTLibError

10 from fontTools.ttLib import (TTFont, TTLibError, getTableModule, getTableClass,
44 raise TTLibError("Not a WOFF2 font (bad signature)")
50 raise TTLibError('Not a WOFF2 font (not enough data)')
67 raise TTLibError(
74 raise TTLibError("reported 'length' doesn't match the actual file size")
94 raise TTLibError("transform for table '%s' is unknown" % tag)
127 raise TTLibError(
168 raise TTLibError("cannot rewrite '%s' table" % tag)
187 …raise TTLibError("wrong number of tables; expected %d, found %d" % (self.numTables, len(self.table…
194 raise TTLibError("Not a TrueType or OpenType font (bad sfntVersion)")
260 raise TTLibError("missing required table: %s" % tag)
311 raise TTLibError("Transform for table '%s' is unknown" % tag)
525 raise TTLibError("can't read table 'flags': not enough data")
530 raise TTLibError("can't read table 'tag': not enough data")
537 raise TTLibError('bits 6-7 are reserved and must be 0')
543 raise TTLibError(
577 raise TTLibError("indexFormat is 0 but local offsets > 0x20000")
579 raise TTLibError("indexFormat is 0 but local offsets not multiples of 2")
608 raise TTLibError("not enough 'glyf' data")
619 raise TTLibError(
643 raise TTLibError(
664 raise TTLibError(
739 raise TTLibError('no bbox values for composite glyph %d' % glyphID)
754 raise TTLibError("not enough 'flagStream' data")
962 raise TTLibError('not enough data to unpack UIntBase128')
966 raise TTLibError('UIntBase128 value must not start with leading zeros')
969 raise TTLibError('not enough data to unpack UIntBase128')
974 raise TTLibError('UIntBase128 value exceeds 2**32-1')
982 raise TTLibError('UIntBase128-encoded sequence is longer than 5 bytes')
1014 raise TTLibError(
1046 raise TTLibError('not enough data to unpack 255UInt16')
1052 raise TTLibError('not enough data to unpack 255UInt16')
1059 raise TTLibError('not enough data to unpack 255UInt16')
1082 raise TTLibError(