From 03fac3d0c08d73b3b90b938d40f020ae44b4e70e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 31 May 2023 01:13:08 +0200 Subject: Rename MISSING_LOAD_FONT -> MISSING_LOAD_FONT_FOR_FONT. --- src/verify.cc | 4 ++-- src/verify.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 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 . * id contains the ID of the tag. */ - MISSING_LOAD_FONT + MISSING_LOAD_FONT_FOR_FONT, }; VerificationNote (Type type, Code code) -- cgit v1.2.3