#include "film.h"
#include "font.h"
#include "raw_convert.h"
+#include <libxml++/libxml++.h>
+#include <iostream>
#include "i18n.h"
shared_ptr<const Film> film = _film.lock ();
DCPOMATIC_ASSERT (film);
-
+
DCPTime len (s.length (), film->active_frame_rate_change (position ()));
/* Default to turning these subtitles on */
boost::mutex::scoped_lock lm (_mutex);
_length = len;
- _fonts.push_back (shared_ptr<Font> (new Font (font_id)));
+ add_font (shared_ptr<Font> (new Font (font_id)));
}
string