Home
last modified time | relevance | path

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

/external/fonttools/Tests/feaLib/
Dbuilder_test.py4 from fontTools.feaLib.error import FeatureLibError
200 FeatureLibError,
222 FeatureLibError,
268 FeatureLibError,
278 FeatureLibError,
284 FeatureLibError,
290 FeatureLibError, 'Feature none has not been defined',
295 FeatureLibError, "Glyph X was assigned to a different class",
312 FeatureLibError,
323 FeatureLibError,
[all …]
Dlexer_test.py2 from fontTools.feaLib.error import FeatureLibError, IncludedFeaNotFound
42 self.assertRaisesRegex(FeatureLibError,
44 self.assertRaisesRegex(FeatureLibError,
46 self.assertRaisesRegex(FeatureLibError,
49 self.assertRaisesRegex(FeatureLibError,
65 self.assertRaises(FeatureLibError, lex, "include blah")
66 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.py3 from fontTools.feaLib.error import FeatureLibError
170 FeatureLibError, 'Unknown anchor "UnknownName"', self.parse,
206 FeatureLibError, "Expected '} TEST;' to terminate anonymous block",
242 FeatureLibError, 'Expected "name"',
269 FeatureLibError, "Font revision numbers must be positive",
275 with self.assertRaisesRegex(FeatureLibError, "missing from the glyph set: ccc"):
285 FeatureLibError, "must not be longer than 63 characters",
290 FeatureLibError,
326 FeatureLibError,
375 FeatureLibError,
[all …]
Derror_test.py1 from fontTools.feaLib.error import FeatureLibError
8 err = FeatureLibError("Squeak!", FeatureLibLocation("foo.fea", 23, 42))
12 err = FeatureLibError("Squeak!", None)
/external/fonttools/Lib/fontTools/feaLib/
Dparser.py1 from fontTools.feaLib.error import FeatureLibError
116 raise FeatureLibError(
141 raise FeatureLibError(
304 raise FeatureLibError(
311 raise FeatureLibError(
333 raise FeatureLibError(
367 FeatureLibError(
399 raise FeatureLibError(
409 raise FeatureLibError(
436 raise FeatureLibError(
[all …]
Dlexer.py1 from fontTools.feaLib.error import FeatureLibError, IncludedFeaNotFound
89 raise FeatureLibError("Expected '(' before file name", location)
93 raise FeatureLibError("Expected ')' after file name", location)
107 raise FeatureLibError("Expected glyph class name", location)
109 raise FeatureLibError(
113 raise FeatureLibError(
160 raise FeatureLibError("Expected '\"' to terminate string", location)
161 raise FeatureLibError("Unexpected character: %r" % cur_char, location)
183 raise FeatureLibError(
236 raise FeatureLibError("Expected file name", fname_location)
[all …]
Dbuilder.py4 from fontTools.feaLib.error import FeatureLibError
248 raise FeatureLibError(
278 raise FeatureLibError(
524 raise FeatureLibError(
539 raise FeatureLibError(
544 raise FeatureLibError(
562 raise FeatureLibError(
574 raise FeatureLibError("DesignAxes not defined", None)
637 raise FeatureLibError(
821 raise FeatureLibError(str(e), e.location) from e
[all …]
Derror.py1 class FeatureLibError(Exception): class
14 class IncludedFeaNotFound(FeatureLibError):
D__main__.py3 from fontTools.feaLib.error import FeatureLibError
69 except FeatureLibError as e:
Dast.py2 from fontTools.feaLib.error import FeatureLibError
541 raise FeatureLibError(
935 raise FeatureLibError(
1677 raise FeatureLibError("Unsupported encoding", self.location)