Fix font handling for DCP subtitles.
[dcpomatic.git] / src / lib / dcp_content.h
index 55773b94439217540bc9ea5a916527e7a96cd388..1b73e8fc71740c698aac7374b6f264388801636f 100644 (file)
@@ -29,6 +29,7 @@
 
 
 #include "content.h"
+#include "font.h"
 #include <libcxml/cxml.h>
 #include <dcp/encrypted_kdm.h>
 #include <dcp/rating.h>
@@ -170,6 +171,8 @@ public:
                return _content_versions;
        }
 
+       void check_font_ids();
+
 private:
        friend struct reels_test5;
 
@@ -222,4 +225,9 @@ private:
 };
 
 
+extern std::string id_for_font_in_reel(std::string id, int reel);
+extern void add_fonts_from_examiner(std::shared_ptr<TextContent> text, std::vector<std::vector<std::shared_ptr<dcpomatic::Font>>> const& fonts);
+
+
+
 #endif