}
}
}
+
+
+void
+InteropSubtitleAsset::set_font_file (string load_id, boost::filesystem::path file)
+{
+ BOOST_FOREACH (Font& i, _fonts) {
+ if (i.load_id == load_id) {
+ i.file = file;
+ }
+ }
+
+ BOOST_FOREACH (shared_ptr<InteropLoadFontNode> i, _load_font_nodes) {
+ if (i->id == load_id) {
+ i->uri = file.filename().string();
+ }
+ }
+}
+
void write (boost::filesystem::path path) const;
void resolve_fonts (std::list<boost::shared_ptr<Asset> > assets);
void add_font_assets (std::list<boost::shared_ptr<Asset> >& assets);
+ void set_font_file (std::string load_id, boost::filesystem::path file);
/** Set the reel number or sub-element identifier
* of these subtitles.