splash/SplashState.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 08b6fd0f11cb052a3674c1e91fee4a85f60d4e54 Author: Peter Wang <noval...@gmail.com> Date: Thu Jul 16 11:16:03 2020 +1000 Splash: Set initial line width to 1 Fixes #674 The initial value of the line width graphics state parameter in PDF is 1.0. 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; _______________________________________________ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler