r21115 by fschmid -
scribus-commit
scribus-commit at lists.scribus.net
Fri Mar 25 10:18:32 UTC 2016
Author: fschmid
Date: Fri Mar 25 10:18:32 2016
New Revision: 21115
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21115
Log:
Fixed Bug #13840: Drop Shadow export shadow of control character/marks 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=21115&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Fri Mar 25 10:18:32 2016
@@ -4131,6 +4131,8 @@
tmp += FToStr(ite->visualWidth() + 2 * ite->softShadowBlurRadius()) + " 0 0 " + FToStr(ite->visualHeight() + 2 * ite->softShadowBlurRadius())+" 0 0 cm\n" ;
maxSize = qMax(ite->visualWidth(), ite->visualHeight());
maxSize = qMin(3000.0, maxSize * (softShadowDPI / 72.0));
+ bool saveControl = ite->doc()->guidesPrefs().showControls;
+ ite->doc()->guidesPrefs().showControls = false;
bool savedShadow = ite->hasSoftShadow();
ite->setHasSoftShadow(false);
double transF = ite->fillTransparency();
@@ -4160,6 +4162,7 @@
delete p;
}
+ ite->doc()->guidesPrefs().showControls = saveControl;
ite->setHasSoftShadow(savedShadow);
ScImage img = imgC.alphaChannel().convertToFormat(QImage::Format_RGB32);
PdfId maskObj = writer.newObject();
More information about the scribus-commit
mailing list