X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Frender_text.h;h=6ff91dce1f98346fe09521a36833bb4de8020dfe;hb=6f66251a1267ad57e9a3f72a5688511b0dba15dd;hp=f235fb45971d69241c1abea7212b31feb095475d;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566;p=dcpomatic.git diff --git a/src/lib/render_text.h b/src/lib/render_text.h index f235fb459..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, dcpomatic::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);