r18807 by jghali - #12058: Rotated gradients are incorrectly exported to PDF

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 10 22:31:55 UTC 2014


Author: jghali
Date: Mon Feb 10 22:31:55 2014
New Revision: 18807

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18807
Log:
#12058: Rotated gradients are incorrectly exported to PDF

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18807&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Mon Feb 10 22:31:55 2014
@@ -8107,7 +8107,8 @@
 	if (((Options.Version >= PDFOptions::PDFVersion_14) || (Options.Version == PDFOptions::PDFVersion_X4)) && (transparencyFound))
 	{
 		QTransform mpM;
-		mpM.rotate(-currItem->rotation());
+		//#12058: cause problems with rotated objects
+		//mpM.rotate(-currItem->rotation());
 		if (GType == 6)
 		{
 			mpM.translate(StartX, -StartY);




More information about the scribus-commit mailing list