From ccd69987ab861ea4521836fa2a5227e2dfac3479 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 15 Oct 2021 22:25:42 +0200 Subject: Basic and slightly inaccurate support for in subtitles (#2103). Adding horizontal space to a Pango layout is hard, and I think this change probably gets it slightly wrong, but it's a step in the right direction. --- src/lib/render_text.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/render_text.h') diff --git a/src/lib/render_text.h b/src/lib/render_text.h index d1c8c7aee..07a97bb40 100644 --- a/src/lib/render_text.h +++ b/src/lib/render_text.h @@ -27,7 +27,7 @@ namespace dcpomatic { class Font; } -std::string marked_up (std::list subtitles, int target_height, float fade_factor); +std::string marked_up (std::list subtitles, int target_height, float fade_factor, std::string font_name); std::list render_text ( std::list, std::list > fonts, dcp::Size, dcpomatic::DCPTime, int ); -- cgit v1.2.3