diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-20 23:49:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-20 23:49:48 +0100 |
| commit | c6665c157bdb6903661d21c571c7d112b54ad8fd (patch) | |
| tree | 81910900fb9bcee8958674fef3b1fb70f115d14d /src/subtitle_asset.h | |
| parent | 2b522d0382a6d4534f1504123a9d16700fe50f0a (diff) | |
Accept fonts as data blocks rather than files.
Diffstat (limited to 'src/subtitle_asset.h')
| -rw-r--r-- | src/subtitle_asset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h index 063a2dfd..ab909a26 100644 --- a/src/subtitle_asset.h +++ b/src/subtitle_asset.h @@ -94,7 +94,7 @@ public: } virtual void add (boost::shared_ptr<Subtitle>); - virtual void add_font (std::string id, boost::filesystem::path file) = 0; + virtual void add_font (std::string id, dcp::ArrayData data) = 0; std::map<std::string, ArrayData> font_data () const; std::map<std::string, boost::filesystem::path> font_filenames () const; |
