X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Frender_text.h;h=6ff91dce1f98346fe09521a36833bb4de8020dfe;hb=8b38c3523b061883c3d320bd2e38afffe7424f4d;hp=99b4391db7393346166c605b029cee58767e37cb;hpb=df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc;p=dcpomatic.git diff --git a/src/lib/render_text.h b/src/lib/render_text.h index 99b4391db..6ff91dce1 100644 --- a/src/lib/render_text.h +++ b/src/lib/render_text.h @@ -23,9 +23,9 @@ #include "string_text.h" #include -class Font; +namespace dcpomatic { + class Font; +} -std::string marked_up (std::list subtitles, int target_height, float fade_factor); -std::list render_text ( - std::list, std::list > fonts, dcp::Size, DCPTime, int - ); +std::string marked_up (std::list subtitles, int target_height, float fade_factor, std::string font_name); +std::list render_text (std::list, dcp::Size, dcpomatic::DCPTime, int);