Simplify the FontIDAllocator a lot (#2827).
[dcpomatic.git] / test / dcp_subtitle_test.cc
index f7a9450f5827c09693c227483549a78e0e8bfba9..22e4fd9ffe9b6c1638c1d18d63773bc0c47f2e0b 100644 (file)
@@ -232,7 +232,7 @@ BOOST_AUTO_TEST_CASE (test_font_override)
        content->only_text()->set_language(dcp::LanguageTag("de"));
 
        BOOST_REQUIRE_EQUAL(content->text.size(), 1U);
-       auto font = content->text.front()->get_font("0_theFontId");
+       auto font = content->text.front()->get_font("theFontId");
        BOOST_REQUIRE(font);
        font->set_file("test/data/Inconsolata-VF.ttf");