summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-20 23:49:48 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-20 23:49:48 +0100
commitc6665c157bdb6903661d21c571c7d112b54ad8fd (patch)
tree81910900fb9bcee8958674fef3b1fb70f115d14d /src/subtitle_asset.h
parent2b522d0382a6d4534f1504123a9d16700fe50f0a (diff)
Accept fonts as data blocks rather than files.
Diffstat (limited to 'src/subtitle_asset.h')
-rw-r--r--src/subtitle_asset.h2
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;