Ask fontconfig to scan the system for fonts requested by text subtitle files (#2264).
[dcpomatic.git] / src / lib / font_config.h
index 7527d9127fea21c9bc651dd44c2745186d27da98..6dadbae8ad88ed416e0bc6724aeb6c7a30abe6f4 100644 (file)
@@ -32,6 +32,7 @@ public:
        static FontConfig* instance();
 
        std::string make_font_available(boost::filesystem::path font_file);
+       boost::optional<boost::filesystem::path> system_font_with_name(std::string name);
 
 private:
        FontConfig();