summaryrefslogtreecommitdiff
path: root/src/lib/font_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/font_config.h')
-rw-r--r--src/lib/font_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/font_config.h b/src/lib/font_config.h
index edcb4be36..57f733b7b 100644
--- a/src/lib/font_config.h
+++ b/src/lib/font_config.h
@@ -19,6 +19,7 @@
*/
+#include "font_comparator.h"
#include <fontconfig/fontconfig.h>
#include <boost/filesystem.hpp>
#include <map>
@@ -41,7 +42,7 @@ private:
~FontConfig();
FcConfig* _config = nullptr;
- std::map<std::string, std::string> _available_fonts;
+ std::map<dcpomatic::Font::Content, std::string, FontComparator> _available_fonts;
std::vector<boost::filesystem::path> _temp_files;