- shared_ptr<const Film> film = _film.lock ();
- if (!film) {
- return;
- }
-
- ContentList content = film->content ();
-
- bool big_font_files = false;
- if (film->interop ()) {
- BOOST_FOREACH (shared_ptr<Content> i, content) {
- BOOST_FOREACH (shared_ptr<TextContent> j, i->text) {
- BOOST_FOREACH (shared_ptr<Font> k, j->fonts()) {
- optional<boost::filesystem::path> const p = k->file ();
- if (p && boost::filesystem::file_size(p.get()) >= (640 * 1024)) {
- big_font_files = true;
- }
- }
- }
- }
- }
-
- if (big_font_files) {
- hint (_("You have specified a font file which is larger than 640kB. This is very likely to cause problems on playback."));
- }
-
- if (film->audio_channels() < 6) {