diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-07-09 20:22:38 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-11 12:22:11 +0200 |
| commit | 8b9888ed8247109dc3c09492302e865fa4731460 (patch) | |
| tree | 1ff1c09074decfc44a1bff77d050f908d6542dda /src/lib/font.h | |
| parent | 5a5f6d3ac42668017141469fd0e5cd14e3bebe88 (diff) | |
Fix font handling for DCP subtitles.
Diffstat (limited to 'src/lib/font.h')
| -rw-r--r-- | src/lib/font.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/font.h b/src/lib/font.h index c1405d0f6..24d8ed2bb 100644 --- a/src/lib/font.h +++ b/src/lib/font.h @@ -47,6 +47,11 @@ public: , _file (file) {} + Font (std::string id, dcp::ArrayData data) + : _id (id) + , _data (data) + {} + void as_xml (xmlpp::Node* node); std::string id () const { |
