Rearrange subtitle font management.
[dcpomatic.git] / src / lib / dcp_decoder.cc
index dfbef340601df21687144754d354e4539b33f1e6..636cc8ed2b3f1f8d937d65943083e322e600bf9e 100644 (file)
@@ -502,18 +502,3 @@ DCPDecoder::position () const
        return ContentTime::from_frames(_offset, _dcp_content->active_video_frame_rate(film())) + _next;
 }
 
-
-vector<FontData>
-DCPDecoder::fonts () const
-{
-       vector<FontData> data;
-       for (auto i: _reels) {
-               if (i->main_subtitle() && i->main_subtitle()->asset()) {
-                       for (auto const& j: i->main_subtitle()->asset()->font_data()) {
-                               data.push_back (FontData(j.first, j.second));
-                       }
-               }
-       }
-       return data;
-}
-