From 9812f5277e97ded115515b0b6f5ad7b0e84dfa39 Mon Sep 17 00:00:00 2001 From: Fabio D'Urso Date: Thu, 25 Apr 2013 01:57:44 +0200 Subject: [PATCH] Do *not* swap width and height in DocumentPrivate::refreshPixmaps They must not be swapped, because generators already swap them on their own, and swapping them twice results in distorted pixmaps. BUG: 318829 FIXED-IN: 4.10.3 --- core/document.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/document.cpp b/core/document.cpp index 51b4735c7..39a481749 100644 --- a/core/document.cpp +++ b/core/document.cpp @@ -1294,8 +1294,6 @@ void DocumentPrivate::refreshPixmaps( int pageNumber ) for ( ; it != itEnd; ++it ) { QSize size = (*it).m_pixmap->size(); - if ( (*it).m_rotation % 2 ) - size.transpose(); PixmapRequest * p = new PixmapRequest( it.key(), pageNumber, size.width(), size.height(), 1, true ); p->d->mForce = true; requestedPixmaps.push_back( p );