BOOST_REQUIRE(font->file());
BOOST_CHECK_EQUAL(*font->file(), "test/data/Inconsolata-VF.ttf");
font = content[0]->text.front()->get_font("Helvetica Neue");
BOOST_REQUIRE(font->file());
BOOST_CHECK_EQUAL(*font->file(), "test/data/Inconsolata-VF.ttf");
font = content[0]->text.front()->get_font("Helvetica Neue");
BOOST_REQUIRE(font->file());
BOOST_CHECK_EQUAL(*font->file(), "test/data/Inconsolata-VF.ttf");
BOOST_REQUIRE(font->file());
BOOST_CHECK_EQUAL(*font->file(), "test/data/Inconsolata-VF.ttf");
boost::filesystem::remove(film->file("metadata.xml"));
boost::filesystem::copy_file("test/data/subtitle_font_id_change_test4.xml", film->file("metadata.xml"));
boost::filesystem::remove(film->file("metadata.xml"));
boost::filesystem::copy_file("test/data/subtitle_font_id_change_test4.xml", film->file("metadata.xml"));
BOOST_REQUIRE(!wait_for_jobs());
make_and_verify_dcp(film, { dcp::VerificationNote::Code::INVALID_STANDARD });
BOOST_REQUIRE(!wait_for_jobs());
make_and_verify_dcp(film, { dcp::VerificationNote::Code::INVALID_STANDARD });