Tweak subrip position.
authorCarl Hetherington <cth@carlh.net>
Fri, 10 Jun 2016 10:26:07 +0000 (11:26 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 10 Jun 2016 10:26:07 +0000 (11:26 +0100)
src/lib/subtitle_decoder.cc

index 2866dee5c5ff004128aa16b0b536fc9cf178dc06..d210c578fd712a16517d680b952efe7f4dfc124e 100644 (file)
@@ -160,10 +160,10 @@ SubtitleDecoder::give_text (ContentTimePeriod period, sub::Subtitle const & subt
                        dcp::VAlign v_align;
                        if (needs_placement) {
                                DCPOMATIC_ASSERT (i.vertical_position.line);
-                               /* This 0.122 is an arbitrary value to lift the bottom sub off the bottom
+                               /* This 0.053 is an arbitrary value to lift the bottom sub off the bottom
                                   of the screen a bit to a pleasing degree.
                                */
-                               v_position = 0.122 + i.vertical_position.line.get() * 1.2 * j.font_size.proportional (72 * 11);
+                               v_position = 0.053 + i.vertical_position.line.get() * 1.2 * j.font_size.proportional (72 * 11);
                                v_align = dcp::VALIGN_BOTTOM;
                        } else {
                                DCPOMATIC_ASSERT (i.vertical_position.proportional);