summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-04-13 23:39:40 +0200
committerCarl Hetherington <cth@carlh.net>2023-04-13 23:39:40 +0200
commit776836d2700123f8a0f109d3a2ac00fad5cdfd48 (patch)
tree1d73fdcd93480d461405483f115ea8a723d1d667 /tools
parentb87af40c55522bae1f23ac43cd25698c0a21f75d (diff)
Add check for Interop font assets being present (in the ASSETMAP and on disk).
Diffstat (limited to 'tools')
-rw-r--r--tools/common.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/common.cc b/tools/common.cc
index 13ce9cb0..030a2ce7 100644
--- a/tools/common.cc
+++ b/tools/common.cc
@@ -49,7 +49,9 @@ dcp::filter_notes (vector<dcp::VerificationNote>& notes, bool ignore_missing_ass
vector<dcp::VerificationNote> filtered;
std::copy_if (notes.begin(), notes.end(), std::back_inserter(filtered), [](dcp::VerificationNote const& i) {
- return i.code() != dcp::VerificationNote::Code::MISSING_ASSET && i.code() != dcp::VerificationNote::Code::EXTERNAL_ASSET;
+ return i.code() != dcp::VerificationNote::Code::MISSING_ASSET &&
+ i.code() != dcp::VerificationNote::Code::EXTERNAL_ASSET &&
+ i.code() != dcp::VerificationNote::Code::MISSING_FONT;
});
notes = filtered;