diff options
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)); } } |
