summaryrefslogtreecommitdiff
path: root/splash
diff options
context:
space:
mode:
authorPeter Wang <novalazy@gmail.com>2020-07-16 11:16:03 +1000
committerAlbert Astals Cid <tsdgeos@yahoo.es>2020-07-17 15:53:35 +0000
commit08b6fd0f11cb052a3674c1e91fee4a85f60d4e54 (patch)
treee9565dd44c82e4162db29f1edfa1d951ac5bf445 /splash
parent39fe3635bd5bbbc15a1660dea2cbf85cb8517b6f (diff)
Splash: Set initial line width to 1
Fixes #674 The initial value of the line width graphics state parameter in PDF is 1.0.
Diffstat (limited to 'splash')
-rw-r--r--splash/SplashState.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/splash/SplashState.cc b/splash/SplashState.cc
index 44e7f5cd..dc3eae96 100644
--- a/splash/SplashState.cc
+++ b/splash/SplashState.cc
@@ -58,7 +58,7 @@ SplashState::SplashState(int width, int height, bool vectorAntialias, SplashScre
multiplyPatternAlpha = false;
patternStrokeAlpha = 1;
patternFillAlpha = 1;
- lineWidth = 0;
+ lineWidth = 1;
lineCap = splashLineCapButt;
lineJoin = splashLineJoinMiter;
miterLimit = 10;
@@ -113,7 +113,7 @@ SplashState::SplashState(int width, int height, bool vectorAntialias, SplashScre
multiplyPatternAlpha = false;
patternStrokeAlpha = 1;
patternFillAlpha = 1;
- lineWidth = 0;
+ lineWidth = 1;
lineCap = splashLineCapButt;
lineJoin = splashLineJoinMiter;
miterLimit = 10;