X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Ffont.h;h=a6bf61e340c445c25970e620c15ac1d489b7efa4;hp=ed3ecc38f3075498d2051545a38df5ab4c2382fb;hb=7647290fbaa81e25875758597f7cbbeca19f80bc;hpb=ec761b781da73360eb2ba9575935525127a03440 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 {