Start of Fonts dialog for setting up subtitle fonts.
[dcpomatic.git] / src / lib / subrip_content.cc
index 7a336f88af632d3770eeed3beb3f9cd82b0915e7..969829b31e1a9075d2e7316fb1cfab2ecbaed58e 100644 (file)
@@ -21,6 +21,7 @@
 #include "util.h"
 #include "subrip.h"
 #include "film.h"
+#include "font.h"
 #include <dcp/raw_convert.h>
 
 #include "i18n.h"
@@ -59,6 +60,7 @@ SubRipContent::examine (boost::shared_ptr<Job> job, bool calculate_digest)
 
        boost::mutex::scoped_lock lm (_mutex);
        _length = len;
+       _fonts.push_back (shared_ptr<Font> (new Font ()));
 }
 
 string