diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-10-08 23:31:24 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-10-09 20:04:33 +0200 |
| commit | 7647290fbaa81e25875758597f7cbbeca19f80bc (patch) | |
| tree | 5844b8253b4aa6454b95f6cb55f5122ffd12dc76 /src/lib/font.h | |
| parent | ec761b781da73360eb2ba9575935525127a03440 (diff) | |
Don't ignore font settings for DCP subtitles (#2074).v2.15.167
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 ed3ecc38f..a6bf61e34 100644 --- a/src/lib/font.h +++ b/src/lib/font.h @@ -41,6 +41,11 @@ public: explicit Font (cxml::NodePtr node); + Font (std::string id, boost::filesystem::path file) + : _id (id) + , _file (file) + {} + void as_xml (xmlpp::Node* node); std::string id () const { |
