summaryrefslogtreecommitdiff
path: root/src/lib/font_config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-06-02 12:20:41 +0200
committerCarl Hetherington <cth@carlh.net>2022-06-07 17:01:06 +0200
commit280a456ae1da8fa648be1e9f68140f045b306e32 (patch)
tree41647ec891fd5a8cbd2bae8279f72e86fbbba687 /src/lib/font_config.h
parent5a820bb8fae34591be5ac6d19a73461b9dab532a (diff)
Ask fontconfig to scan the system for fonts requested by text subtitle files (#2264).
Diffstat (limited to 'src/lib/font_config.h')
-rw-r--r--src/lib/font_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/font_config.h b/src/lib/font_config.h
index 7527d9127..6dadbae8a 100644
--- a/src/lib/font_config.h
+++ b/src/lib/font_config.h
@@ -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();