diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-01-21 23:17:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-02-27 14:47:25 +0100 |
| commit | 45204e57f309bc595841975f7769037e43a0831f (patch) | |
| tree | 4242dccda5380f38122c3eeef908a9d6969fb52a /src/lib/render_text.h | |
| parent | 9f90d2db337787ebb4da73b909776d5b13a1d520 (diff) | |
Add override_standard to bounding_box().
Diffstat (limited to 'src/lib/render_text.h')
| -rw-r--r-- | src/lib/render_text.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/render_text.h b/src/lib/render_text.h index bceee964e..6d20912a2 100644 --- a/src/lib/render_text.h +++ b/src/lib/render_text.h @@ -34,7 +34,7 @@ namespace dcpomatic { std::string marked_up (std::list<StringText> subtitles, int target_height, float fade_factor, std::string font_name); std::list<PositionImage> render_text (std::list<StringText>, dcp::Size, dcpomatic::DCPTime, int); -std::list<dcpomatic::Rect<int>> bounding_box(std::list<StringText> subtitles, dcp::Size target); +std::list<dcpomatic::Rect<int>> bounding_box(std::list<StringText> subtitles, dcp::Size target, boost::optional<dcp::SubtitleStandard> override_standard = boost::none); class FontMetrics |
