summaryrefslogtreecommitdiff
path: root/src/verify.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-31 22:39:40 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-01 23:43:00 +0200
commita44e4cedc7054cb12979fb0cb188bf6d8545aebf (patch)
tree39363454b3f8cea3af305a7ad3a9b9d2de93ae4f /src/verify.cc
parentfe938d4dd52ab41be4cdd441d5d4289deae6190d (diff)
MISSING_FONT: note -> load_font_id.
Diffstat (limited to 'src/verify.cc')
-rw-r--r--src/verify.cc4
1 files changed, 2 insertions, 2 deletions
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<const InteropTextAsset> 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<string (string)> process_str
case VerificationNote::Code::INVALID_MAIN_SOUND_CONFIGURATION:
return compose("<MainSoundConfiguration> 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).",