diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-05-31 01:13:08 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-06-02 20:54:36 +0200 |
| commit | 03fac3d0c08d73b3b90b938d40f020ae44b4e70e (patch) | |
| tree | 7ce29fff9735f4f7300e1a3dfc850cfdeb3a2f74 /src | |
| parent | 70f7f1d890f72e401463b115e596afa9782de296 (diff) | |
Rename MISSING_LOAD_FONT -> MISSING_LOAD_FONT_FOR_FONT.
Diffstat (limited to 'src')
| -rw-r--r-- | src/verify.cc | 4 | ||||
| -rw-r--r-- | src/verify.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/verify.cc b/src/verify.cc index f570a41d..fc58cf78 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -1003,7 +1003,7 @@ verify_text_details ( } if (missing_load_font_id) { - notes.push_back(dcp::VerificationNote(VerificationNote::Type::ERROR, VerificationNote::Code::MISSING_LOAD_FONT).set_id(*missing_load_font_id)); + notes.push_back(dcp::VerificationNote(VerificationNote::Type::ERROR, VerificationNote::Code::MISSING_LOAD_FONT_FOR_FONT).set_id(*missing_load_font_id)); } } @@ -2057,7 +2057,7 @@ dcp::note_to_string (VerificationNote note) ); case VerificationNote::Code::INCORRECT_SUBTITLE_NAMESPACE_COUNT: return String::compose("The XML in the subtitle asset %1 has more than one namespace declaration.", note.note().get()); - case VerificationNote::Code::MISSING_LOAD_FONT: + case VerificationNote::Code::MISSING_LOAD_FONT_FOR_FONT: return String::compose("A subtitle or closed caption refers to a font with ID %1 that does not have a corresponding <LoadFont> node", note.id().get()); } diff --git a/src/verify.h b/src/verify.h index 8a8e77f3..a282d328 100644 --- a/src/verify.h +++ b/src/verify.h @@ -452,7 +452,7 @@ public: * first introduced with a <LoadFont>. * id contains the ID of the <Font> tag. */ - MISSING_LOAD_FONT + MISSING_LOAD_FONT_FOR_FONT, }; VerificationNote (Type type, Code code) |
