summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index 58195d4b..58d05651 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -261,6 +261,8 @@ DCP::read (bool keep_going, ReadErrors* errors, bool ignore_incorrect_picture_mx
}
} else if (pkl_type == FontAsset::static_pkl_type(*_standard)) {
other_assets.push_back (shared_ptr<FontAsset> (new FontAsset (i->first, path)));
+ } else {
+ throw DCPReadError (String::compose("Unknown asset type %1 in PKL", pkl_type));
}
}