Home
last modified time | relevance | path

Searched refs:FeatureLibError (Results 1 – 9 of 9) sorted by relevance

/external/fonttools/Tests/feaLib/
Dbuilder_test.py7 from fontTools.feaLib.error import FeatureLibError
183 FeatureLibError,
194 FeatureLibError,
229 FeatureLibError,
239 FeatureLibError,
245 FeatureLibError,
251 FeatureLibError, 'Feature none has not been defined',
256 FeatureLibError, "Glyph X was assigned to a different class",
273 FeatureLibError,
284 FeatureLibError,
[all …]
Dlexer_test.py4 from fontTools.feaLib.error import FeatureLibError, IncludedFeaNotFound
43 self.assertRaisesRegex(FeatureLibError,
45 self.assertRaisesRegex(FeatureLibError,
47 self.assertRaisesRegex(FeatureLibError,
50 self.assertRaisesRegex(FeatureLibError,
66 self.assertRaises(FeatureLibError, lex, "include blah")
67 self.assertRaises(FeatureLibError, lex, "include (blah")
104 self.assertRaises(FeatureLibError, lex, '"foo\n bar')
107 self.assertRaises(FeatureLibError, lambda: lex("123 \u0001"))
173 self.assertRaises(FeatureLibError, lambda: list(lexer))
[all …]
Dparser_test.py4 from fontTools.feaLib.error import FeatureLibError
163 FeatureLibError, 'Unknown anchor "UnknownName"', self.parse,
199 FeatureLibError, "Expected '} TEST;' to terminate anonymous block",
235 FeatureLibError, 'Expected "name"',
262 FeatureLibError, "Font revision numbers must be positive",
272 FeatureLibError, "must not be longer than 63 characters",
277 FeatureLibError,
313 FeatureLibError,
349 FeatureLibError,
368 FeatureLibError,
[all …]
Derror_test.py3 from fontTools.feaLib.error import FeatureLibError
9 err = FeatureLibError("Squeak!", ("foo.fea", 23, 42))
13 err = FeatureLibError("Squeak!", None)
/external/fonttools/Lib/fontTools/feaLib/
Dparser.py3 from fontTools.feaLib.error import FeatureLibError
86 raise FeatureLibError(
106 raise FeatureLibError(
259 raise FeatureLibError(
264 raise FeatureLibError(
278 raise FeatureLibError(
325 raise FeatureLibError(
336 raise FeatureLibError(
347 raise FeatureLibError(
371 raise FeatureLibError(
[all …]
Dlexer.py4 from fontTools.feaLib.error import FeatureLibError, IncludedFeaNotFound
88 raise FeatureLibError("Expected '(' before file name",
93 raise FeatureLibError("Expected ')' after file name",
108 raise FeatureLibError("Expected glyph class name", location)
110 raise FeatureLibError(
114 raise FeatureLibError(
156 raise FeatureLibError("Expected '\"' to terminate string",
158 raise FeatureLibError("Unexpected character: %r" % cur_char,
181 raise FeatureLibError(
210 raise FeatureLibError("Expected file name", fname_location)
[all …]
Derror.py5 class FeatureLibError(Exception): class
19 class IncludedFeaNotFound(FeatureLibError):
Dbuilder.py6 from fontTools.feaLib.error import FeatureLibError
173 raise FeatureLibError(
201 raise FeatureLibError("Feature %s has not been defined" % name,
621 raise FeatureLibError(
626 raise FeatureLibError(
634 raise FeatureLibError(
670 raise FeatureLibError(
673 raise FeatureLibError(
702 raise FeatureLibError(
718 raise FeatureLibError(
[all …]
Dast.py4 from fontTools.feaLib.error import FeatureLibError
420 raise FeatureLibError(
689 raise FeatureLibError(
1218 raise FeatureLibError("Unsupported encoding", self.location)