r15535 by fschmid - Fixed Bug #9323: "Scribus places EPS files randomly in image frames"
scribus-commit
scribus-commit at lists.scribus.net
Thu Oct 14 22:37:28 CEST 2010
Author: fschmid
Date: Thu Oct 14 20:37:27 2010
New Revision: 15535
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15535
Log:
Fixed Bug #9323: "Scribus places EPS files randomly in image frames"
Modified:
branches/Version135/Scribus/scribus/scimgdataloader_ps.cpp
Modified: branches/Version135/Scribus/scribus/scimgdataloader_ps.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15535&path=/branches/Version135/Scribus/scribus/scimgdataloader_ps.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/scimgdataloader_ps.cpp (original)
+++ branches/Version135/Scribus/scribus/scimgdataloader_ps.cpp Thu Oct 14 20:37:27 2010
@@ -140,6 +140,7 @@
hasThumbnail = false;
inTrailer = false;
BBoxInTrailer = false;
+ isRotated = false;
int plateCount = 0;
uint startPos = 0;
FontListe.clear();
@@ -585,7 +586,7 @@
int eh = qRound(h - y * gsRes / 72.0);
m_image = m_image.copy(ex, ey, ew, eh);
}
- if (!ScCore->havePNGAlpha())
+ if ((!ScCore->havePNGAlpha()) || (isRotated))
{
int wi = m_image.width();
int hi = m_image.height();
More information about the scribus-commit
mailing list