Increase the number (in arbitrary units) which describes the width
authorCarl Hetherington <cth@carlh.net>
Tue, 11 Sep 2018 10:26:44 +0000 (11:26 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 11 Sep 2018 10:26:44 +0000 (11:26 +0100)
of the border on DCP subtitles when they are rendered in the preview.
This makes them look better, and I think it's closer to what projectors
do.

src/lib/text_content.cc

index 9869974c5bf7a7a61452b5402f90ec799d0c0a98..ac49be474e1ae70c4685bfaa5b5d93df966a8bd0 100644 (file)
@@ -67,7 +67,7 @@ TextContent::TextContent (Content* parent, TextType type, TextType original_type
        , _x_scale (1)
        , _y_scale (1)
        , _line_spacing (1)
-       , _outline_width (2)
+       , _outline_width (4)
        , _type (type)
        , _original_type (original_type)
 {
@@ -121,7 +121,7 @@ TextContent::TextContent (Content* parent, cxml::ConstNodePtr node, int version)
        , _x_scale (1)
        , _y_scale (1)
        , _line_spacing (node->optional_number_child<double>("LineSpacing").get_value_or (1))
-       , _outline_width (node->optional_number_child<int>("OutlineWidth").get_value_or (2))
+       , _outline_width (node->optional_number_child<int>("OutlineWidth").get_value_or (4))
        , _type (TEXT_OPEN_SUBTITLE)
        , _original_type (TEXT_OPEN_SUBTITLE)
 {