<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - very slow render"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64892#c29">Comment # 29</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - very slow render"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64892">bug 64892</a>
              from <span class="vcard"><a class="email" href="mailto:aacid@kde.org" title="Albert Astals Cid <aacid@kde.org>"> <span class="fn">Albert Astals Cid</span></a>
</span></b>
        <pre>Thomas "quick" question: are the 

-    if (scaledHeight < srcHeight) {
-      if (scaledWidth < srcWidth) {
+    if (scaledHeight <= srcHeight) {
+      if (scaledWidth <= srcWidth) {
        scaleImageYdXd(src, srcData, srcMode, nComps, srcAlpha,
                      srcWidth, srcHeight, scaledWidth, scaledHeight, dest);
       } else {
@@ -4077,11 +4077,11 @@ SplashBitmap *Splash::scaleImage(SplashImageSource src,
void *srcData,
                      srcWidth, srcHeight, scaledWidth, scaledHeight, dest);
       }
     } else {
-      if (scaledWidth < srcWidth) {
+      if (scaledWidth <= srcWidth) {


changes needed?

If i remove them I still get the speedup and the delta with the old version
renders is reduced a lot, for example, bug114741.pdf has no changes instead of
changing for every page.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>