+
+ bool big_font_files = false;
+ if (film->interop ()) {
+ BOOST_FOREACH (shared_ptr<Content> i, content) {
+ shared_ptr<SubtitleContent> s = dynamic_pointer_cast<SubtitleContent> (i);
+ if (s) {
+ BOOST_FOREACH (shared_ptr<Font> j, s->fonts ()) {
+ if (j->file && boost::filesystem::file_size (j->file.get ()) >= (640 * 1024)) {
+ big_font_files = true;
+ }
+ }
+ }
+ }
+ }
+
+ if (big_font_files) {
+ hint = true;
+ _text->WriteText (_("You have specified a font file which is larger than 640kB. This is very likely to cause problems on playback."));
+ }
+