From: Carl Hetherington Date: Tue, 11 Sep 2018 10:26:44 +0000 (+0100) Subject: Increase the number (in arbitrary units) which describes the width X-Git-Tag: v2.13.49~21 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=5c974b2fc501b806a259dcdfbc01df07ef9cda79;p=dcpomatic.git Increase the number (in arbitrary units) which describes the width 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. --- diff --git a/src/lib/text_content.cc b/src/lib/text_content.cc index 9869974c5..ac49be474 100644 --- a/src/lib/text_content.cc +++ b/src/lib/text_content.cc @@ -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("LineSpacing").get_value_or (1)) - , _outline_width (node->optional_number_child("OutlineWidth").get_value_or (2)) + , _outline_width (node->optional_number_child("OutlineWidth").get_value_or (4)) , _type (TEXT_OPEN_SUBTITLE) , _original_type (TEXT_OPEN_SUBTITLE) {