summaryrefslogtreecommitdiff
path: root/src/verify.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-05-11 14:47:52 +0200
committerCarl Hetherington <cth@carlh.net>2023-05-11 14:52:33 +0200
commiteeee8ab7ad46b9eda35f0156540984d3ed340e15 (patch)
tree29e6b2c17e16536d251faf832e20bf202ba91a3e /src/verify.h
parent919b61fbe43e28ffda689b735721b3042be081ad (diff)
Check that all <Font> tags have a corresponding <LoadFont> in the verifier.
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h7
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)