diff options
Diffstat (limited to 'test/render_subtitles_test.cc')
| -rw-r--r-- | test/render_subtitles_test.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/render_subtitles_test.cc b/test/render_subtitles_test.cc index 5774c8e9a..d850062c2 100644 --- a/test/render_subtitles_test.cc +++ b/test/render_subtitles_test.cc @@ -18,15 +18,19 @@ */ + /** @file test/render_text_test.cc * @brief Check markup of subtitles for rendering. * @ingroup feature */ + #include "lib/render_text.h" +#include "lib/string_text.h" #include <dcp/subtitle_string.h> #include <boost/test/unit_test.hpp> + static void add (std::list<StringText>& s, std::string text, bool italic, bool bold, bool underline) { @@ -54,7 +58,8 @@ add (std::list<StringText>& s, std::string text, bool italic, bool bold, bool un dcp::Time (), 0 ), - 2 + 2, + std::shared_ptr<dcpomatic::Font>() ) ); } |
