r20969 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Wed Feb 10 21:37:28 UTC 2016


Author: jghali
Date: Wed Feb 10 21:37:28 2016
New Revision: 20969

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20969
Log:
#13649 related: fix bad gradient-based transparency mask placement when exporting to PDF and using image X-Pos/Y-Pos

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20969&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp	(original)
+++ trunk/Scribus/scribus/pdflib_core.cpp	Wed Feb 10 21:37:28 2016
@@ -6588,7 +6588,14 @@
 			mpa.scale(scaleX, scaleY);
 		}
 		else
+		{
 			mpa.translate(bleedDisplacementX, bleedDisplacementY);
+			if (currItem->isImageFrame())
+			{
+				mpa.translate(currItem->imageXOffset() * currItem->imageXScale(), -currItem->imageYOffset() * currItem->imageYScale());
+				mpa.rotate(-currItem->imageRotation());
+			}
+		}
 		// #11761 : cause trouble when exporting transparency gradient
 		/*else
 			mpa.rotate(-currItem->rotation());*/




More information about the scribus-commit mailing list