Rearrange subtitle font management.
[dcpomatic.git] / src / lib / string_text_file_decoder.cc
index d366bedc0fa84ebd578650eed2c18fb94ef012c6..d5f320a27f83ab83fa3c1705e8e9e0c0e3f1da3b 100644 (file)
@@ -91,17 +91,3 @@ StringTextFileDecoder::content_time_period (sub::Subtitle s) const
                ContentTime::from_seconds (s.to.all_as_seconds())
                );
 }
-
-
-vector<FontData>
-StringTextFileDecoder::fonts () const
-{
-       vector<FontData> data;
-       for (auto i: text) {
-               for (auto j: i->content()->fonts()) {
-                       data.push_back (FontData(j));
-               }
-       }
-       return data;
-}
-