Cleanup: use std::vector and extract utf8_to_utf16().
[dcpomatic.git] / src / lib / hints.cc
index 4a5c984380a95af51c5e3fae1eeb4b2a548d06fa..b628efc31534fd53be7c7c8d29350ceab88363c3 100644 (file)
@@ -24,6 +24,7 @@
 #include "audio_processor.h"
 #include "compose.hpp"
 #include "config.h"
+#include "constants.h"
 #include "content.h"
 #include "cross.h"
 #include "dcp_content_type.h"
@@ -34,7 +35,6 @@
 #include "player.h"
 #include "ratio.h"
 #include "text_content.h"
-#include "types.h"
 #include "video_content.h"
 #include "writer.h"
 #include <dcp/cpl.h>
@@ -439,7 +439,6 @@ try
                check_loudness ();
        }
 
-       _writer->write (player->get_subtitle_fonts());
 
        if (_long_subtitle && !_very_long_subtitle) {
                hint (_("At least one of your subtitle lines has more than 52 characters.  It is recommended to make each line 52 characters at most in length."));