From 5c974b2fc501b806a259dcdfbc01df07ef9cda79 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 11 Sep 2018 11:26:44 +0100 Subject: [PATCH] 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. --- src/lib/text_content.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.30.2