diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-05-11 14:47:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-05-11 14:52:33 +0200 |
| commit | eeee8ab7ad46b9eda35f0156540984d3ed340e15 (patch) | |
| tree | 29e6b2c17e16536d251faf832e20bf202ba91a3e /src/verify.h | |
| parent | 919b61fbe43e28ffda689b735721b3042be081ad (diff) | |
Check that all <Font> tags have a corresponding <LoadFont> in the verifier.
Diffstat (limited to 'src/verify.h')
| -rw-r--r-- | src/verify.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/verify.h b/src/verify.h index 08a24227..9c98ef01 100644 --- a/src/verify.h +++ b/src/verify.h @@ -447,7 +447,12 @@ public: /** A subtitle XML root node has more than one namespace (xmlns) declaration. * note contains the asset ID */ - INCORRECT_SUBTITLE_NAMESPACE_COUNT + INCORRECT_SUBTITLE_NAMESPACE_COUNT, + /** A subtitle or closed caption file has a <Font> tag which refers to a font that is not + * first introduced with a <LoadFont>. + * id conatins the ID of the <Font> tag. + */ + MISSING_LOAD_FONT }; VerificationNote (Type type, Code code) |
