}
fake_font.close();
- auto content = content_factory("test/data/" + name + ".srt")[0];
+ auto content = content_factory(String::compose("test/data/%1%2.xml", name, i))[0];
content->text[0]->set_type(TextType::OPEN_SUBTITLE);
content->text[0]->set_language(dcp::LanguageTag("en-US"));
film->examine_and_add_content(content);
BOOST_REQUIRE (!wait_for_jobs());
- content->text[0]->get_font("")->set_file("build/test/hint_subtitle_mxf_too_big.ttf");
+ auto const font = content->text[0]->get_font(String::compose("0_font_%1", i));
+ BOOST_REQUIRE(font);
+ font->set_file("build/test/hint_subtitle_mxf_too_big.ttf");
}
auto hints = get_hints (film);
hints[0],
"The certificate chain that DCP-o-matic uses for signing DCPs and KDMs has a validity period "
"that is too long. This will cause problems playing back DCPs on some systems. "
- "You are advised to re-create the signing certificate chain by clicking the "
+ "It is advisable to re-create the signing certificate chain by clicking the "
"\"Re-make certificates and key...\" button in the Keys page of Preferences."
);
}