r20546 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Nov 9 23:30:57 UTC 2015


Author: jghali
Date: Mon Nov  9 23:30:56 2015
New Revision: 20546

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20546
Log:
#13515: Drop Shadow not exported to PDF / X-4

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20546&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp	(original)
+++ trunk/Scribus/scribus/pdflib_core.cpp	Mon Nov  9 23:30:56 2015
@@ -3733,7 +3733,7 @@
 
 QByteArray PDFLibCore::PDF_PutSoftShadow(PageItem* ite, const ScPage *pag)
 {
-	if (Options.Version < PDFOptions::PDFVersion_14 || !ite->hasSoftShadow() || ite->softShadowColor() == CommonStrings::None || !ite->printEnabled())
+	if ((Options.Version < PDFOptions::PDFVersion_14 && Options.Version != PDFOptions::PDFVersion_X4) || !ite->hasSoftShadow() || ite->softShadowColor() == CommonStrings::None || !ite->printEnabled())
 		return "";
 	double maxSize;
 	QByteArray tmp("q\n");




More information about the scribus-commit mailing list