projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix font handling for DCP subtitles.
[dcpomatic.git]
/
src
/
lib
/
dcp_content.h
diff --git
a/src/lib/dcp_content.h
b/src/lib/dcp_content.h
index 55773b94439217540bc9ea5a916527e7a96cd388..1b73e8fc71740c698aac7374b6f264388801636f 100644
(file)
--- a/
src/lib/dcp_content.h
+++ b/
src/lib/dcp_content.h
@@
-29,6
+29,7
@@
#include "content.h"
#include "content.h"
+#include "font.h"
#include <libcxml/cxml.h>
#include <dcp/encrypted_kdm.h>
#include <dcp/rating.h>
#include <libcxml/cxml.h>
#include <dcp/encrypted_kdm.h>
#include <dcp/rating.h>
@@
-170,6
+171,8
@@
public:
return _content_versions;
}
return _content_versions;
}
+ void check_font_ids();
+
private:
friend struct reels_test5;
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
#endif