summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-11 11:26:44 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-11 11:26:44 +0100
commit5c974b2fc501b806a259dcdfbc01df07ef9cda79 (patch)
treea48d9bd68c839330fda810e31ba9e11ec8c85da7 /src
parentcbba9723a56d101ab1fa814cee8671a6c1f729e5 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/lib/text_content.cc4
1 files 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<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)
{