[poppler] poppler/SplashOutputDev.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Sep 25 16:59:21 UTC 2021


 poppler/SplashOutputDev.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3b8a01589cc8f0e96b4e405050f5c73fc665752e
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sat Sep 25 18:53:53 2021 +0200

    Fix copy&paste mistake of previous commit
    
    Found by Claude Heiland-Allen

diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index 357a3156..02c6bd34 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -4251,7 +4251,7 @@ bool SplashOutputDev::tilingPatternFill(GfxState *state, Gfx *gfxA, Catalog *cat
     m1.m[0] = std::max(fabs(ptm[0]), fabs(ptm[2])) * kx;
     m1.m[1] = 0;
     m1.m[2] = 0;
-    m1.m[3] = std::max(fabs(ptm[1]), fabs(ptm[3])) * kx;
+    m1.m[3] = std::max(fabs(ptm[1]), fabs(ptm[3])) * ky;
     m1.m[4] = 0;
     m1.m[5] = 0;
     m1.transform(width, height, &kx, &ky);


More information about the poppler mailing list