Fix font handling for DCP subtitles.
[dcpomatic.git] / src / lib / dcp_examiner.h
index a5bf2434e8d23ca28a510bc762a4409cb65c105f..ac43805977c98f75d5cc9eea1a0c6e94a8871c64 100644 (file)
@@ -166,6 +166,11 @@ public:
                return _atmos_edit_rate;
        }
 
+       /** @return fonts in each reel */
+       std::vector<std::vector<std::shared_ptr<dcpomatic::Font>>> fonts() const {
+               return _fonts;
+       }
+
 private:
        boost::optional<double> _video_frame_rate;
        boost::optional<dcp::Size> _video_size;
@@ -198,4 +203,5 @@ private:
        bool _has_atmos = false;
        Frame _atmos_length = 0;
        dcp::Fraction _atmos_edit_rate;
+       std::vector<std::vector<std::shared_ptr<dcpomatic::Font>>> _fonts;
 };