[Poppler-bugs] [Bug 64892] very slow render
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jun 3 14:45:26 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=64892
--- Comment #29 from Albert Astals Cid <aacid at kde.org> ---
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130603/6a938702/attachment.html>
More information about the Poppler-bugs
mailing list