From a44e4cedc7054cb12979fb0cb188bf6d8545aebf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 31 Mar 2026 22:39:40 +0200 Subject: MISSING_FONT: note -> load_font_id. --- src/verify.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/verify.cc') diff --git a/src/verify.cc b/src/verify.cc index bc3adea0..e1542eaa 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -752,7 +752,7 @@ verify_interop_text_asset(Context& context, shared_ptr a } auto const unresolved = asset->unresolved_fonts(); if (!unresolved.empty()) { - context.add_note(VerificationNote::Code::MISSING_FONT, unresolved.front()); + context.add_note(VerificationNote(VerificationNote::Code::MISSING_FONT).set_load_font_id(unresolved.front())); } } @@ -2192,7 +2192,7 @@ dcp::note_to_string(VerificationNote note, function process_str case VerificationNote::Code::INVALID_MAIN_SOUND_CONFIGURATION: return compose(" has an invalid value: %1", *note.error()); case VerificationNote::Code::MISSING_FONT: - return compose("The font file for font ID \"%1\" was not found, or was not referred to in the ASSETMAP.", note.note().get()); + return compose("The font file for font ID \"%1\" was not found, or was not referred to in the ASSETMAP.", *note.load_font_id()); case VerificationNote::Code::INVALID_JPEG2000_TILE_PART_SIZE: return compose( "Frame %1 has an image component that is too large (component %2 is %3 bytes in size).", -- cgit v1.2.3