diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-05-16 23:12:40 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-05-16 23:12:40 +0200 |
| commit | f68a99a93b7a735d9983d8946f058a71f5b11cd4 (patch) | |
| tree | a9b58d25a1a3268b3448e75d3205214c3f0c1ead /src/interop_subtitle_asset.h | |
| parent | 245faa7fc2eb88a761e8d52603766b27b5a880c8 (diff) | |
Make it possible to write subtitle assets without any <Font> tags.2525-ccap-fonts
Diffstat (limited to 'src/interop_subtitle_asset.h')
| -rw-r--r-- | src/interop_subtitle_asset.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interop_subtitle_asset.h b/src/interop_subtitle_asset.h index 3005c8fc..83f552fd 100644 --- a/src/interop_subtitle_asset.h +++ b/src/interop_subtitle_asset.h @@ -76,10 +76,10 @@ public: void add_font (std::string load_id, dcp::ArrayData data) override; - std::string xml_as_string () const override; + std::string xml_as_string(FontTags font_tags = FontTags::INCLUDE) const override; /** Write this content to an XML file with its fonts alongside */ - void write (boost::filesystem::path path) const override; + void write(boost::filesystem::path path, FontTags font_tags = FontTags::INCLUDE) const override; void resolve_fonts (std::vector<std::shared_ptr<Asset>> assets); void set_font_file (std::string load_id, boost::filesystem::path file); |
