Lines Matching refs:TTLibError

71 		with self.assertRaisesRegex(ttLib.TTLibError, 'bad signature'):
76 with self.assertRaisesRegex(ttLib.TTLibError, 'not enough data'):
84 with self.assertRaises((brotli.error, ttLib.TTLibError)):
90 with self.assertRaisesRegex(ttLib.TTLibError, 'unexpected size for decompressed'):
100 ttLib.TTLibError, "doesn't match the actual file size"):
124 with self.assertRaisesRegex(ttLib.TTLibError, 'transform for table .* unknown'):
155 ttLib.TTLibError, "'loca' table doesn't match original size"):
237 with self.assertRaisesRegex(ttLib.TTLibError, "can't read table 'flags'"):
242 with self.assertRaisesRegex(ttLib.TTLibError, "can't read table 'tag'"):
246 with self.assertRaisesRegex(ttLib.TTLibError, "bits 6-7 are reserved"):
254 ttLib.TTLibError, "transformLength of the 'loca' table must be 0"):
389 with self.assertRaisesRegex(ttLib.TTLibError, "cannot rewrite"):
394 with self.assertRaisesRegex(ttLib.TTLibError, "wrong number of tables"):
399 with self.assertRaisesRegex(ttLib.TTLibError, "missing required table"):
453 with self.assertRaisesRegex(ttLib.TTLibError, "bad sfntVersion"):
563 ttLib.TTLibError, "indexFormat is 0 but local offsets > 0x20000"):
570 with self.assertRaisesRegex(ttLib.TTLibError, "offsets not multiples of 2"):
654 with self.assertRaisesRegex(ttLib.TTLibError, "incorrect glyphOrder"):
696 with self.assertRaisesRegex(ttLib.TTLibError, "not enough 'glyf' data"):
701 with self.assertRaisesRegex(ttLib.TTLibError, msg):
703 with self.assertRaisesRegex(ttLib.TTLibError, msg):
716 with self.assertRaisesRegex(ttLib.TTLibError, "incorrect glyphOrder"):
719 with self.assertRaisesRegex(ttLib.TTLibError, "incorrect glyphOrder"):
757 ttLib.TTLibError,
762 ttLib.TTLibError,
767 ttLib.TTLibError,
772 ttLib.TTLibError,
785 ttLib.TTLibError,
789 ttLib.TTLibError,
807 ttLib.TTLibError,
812 ttLib.TTLibError,
817 ttLib.TTLibError,
828 ttLib.TTLibError,
833 ttLib.TTLibError,