}
+void
+InteropSubtitleAsset::add_font_assets(vector<shared_ptr<const Asset>>& assets)
+{
+ for (auto const& i: _fonts) {
+ DCP_ASSERT (i.file);
+ assets.push_back (make_shared<FontAsset>(i.uuid, i.file.get()));
+ }
+}
+
+
void
InteropSubtitleAsset::add_to_assetmap (AssetMap& asset_map, boost::filesystem::path root) const
{
void resolve_fonts (std::vector<std::shared_ptr<Asset>> assets);
void add_font_assets (std::vector<std::shared_ptr<Asset>>& assets);
+ void add_font_assets(std::vector<std::shared_ptr<const Asset>>& assets);
void set_font_file (std::string load_id, boost::filesystem::path file);
/** @return the <LoadFont> IDs of fonts for which we have not (yet) found a font asset.