r21841 by jghali - fix issue similar to #14690, but for image frames

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 19 18:35:53 UTC 2017


Author: jghali
Date: Sun Mar 19 18:35:53 2017
New Revision: 21841

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21841
Log:
fix issue similar to #14690, but for image frames

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21841&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp	(original)
+++ trunk/Scribus/scribus/pdflib_core.cpp	Sun Mar 19 18:35:53 2017
@@ -2706,6 +2706,7 @@
 								}
 								if (!tmpOut.isEmpty())
 								{
+									PutPage("q\n");
 									if (ite->GrType == 14)
 										PutPage(tmpOut);
 									else
@@ -2714,6 +2715,7 @@
 										PutPage(SetClipPath(ite));
 										PutPage(ite->fillRule ? "h\nf*\n" : "h\nf\n");
 									}
+									PutPage("Q\n");
 								}
 							}
 							else
@@ -4409,6 +4411,7 @@
 					}
 					if (!tmpOut.isEmpty())
 					{
+						tmp += "q\n";
 						if (ite->GrType == 14)
 							tmp += tmpOut;
 						else
@@ -4417,6 +4420,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