r21585 by jghali - #14410: The pattern on the master page is not exported to PDF
scribus-commit
scribus-commit at lists.scribus.net
Mon Dec 5 12:04:30 UTC 2016
Author: jghali
Date: Mon Dec 5 12:04:30 2016
New Revision: 21585
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21585
Log:
#14410: The pattern on the master page is not 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=21585&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Mon Dec 5 12:04:30 2016
@@ -2730,8 +2730,17 @@
if (!PDF_GradientFillStroke(tmpOut, ite))
return false;
}
- if (ite->GrType != 14)
- PutPage(tmpOut);
+ if (!tmpOut.isEmpty())
+ {
+ if (ite->GrType == 14)
+ PutPage(tmpOut);
+ else
+ {
+ PutPage(tmpOut);
+ PutPage(SetClipPath(ite));
+ PutPage(ite->fillRule ? "h\nf*\n" : "h\nf\n");
+ }
+ }
}
else
{
More information about the scribus-commit
mailing list