r21838 by jghali - #14690: When exporting, text foreground blends with the background's gradients

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 19 03:31:53 UTC 2017


Author: jghali
Date: Sun Mar 19 03:31:53 2017
New Revision: 21838

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21838
Log:
#14690: When exporting, text foreground blends with the background's gradients

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21838&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp	(original)
+++ trunk/Scribus/scribus/pdflib_core.cpp	Sun Mar 19 03:31:53 2017
@@ -4535,6 +4535,7 @@
 					}
 					if (!tmpOut.isEmpty())
 					{
+						tmp += "q\n";
 						if (ite->GrType == 14)
 							tmp += tmpOut;
 						else
@@ -4543,6 +4544,7 @@
 							tmp += SetClipPath(ite);
 							tmp += (ite->fillRule ? "h\nf*\n" : "h\nf\n");
 						}
+						tmp += "Q\n";
 					}
 				}
 				else




More information about the scribus-commit mailing list