r20872 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Mon Feb 1 23:09:52 UTC 2016
Author: jghali
Date: Mon Feb 1 23:09:52 2016
New Revision: 20872
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20872
Log:
#13703: Object blending mode ignored on export 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=20872&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Mon Feb 1 23:09:52 2016
@@ -8774,7 +8774,8 @@
ResCount++;
QByteArray GXName = ResNam+Pdf::toPdf(ResCount);
ResCount++;
- Transpar[GXName] = writeGState("/SMask << /S /Luminosity /G "+Pdf::toPdf(formObject)+" 0 R >>\n/BM /Normal\n");
+ int bmCode = stroke ? currItem->lineBlendmode() : currItem->fillBlendmode();
+ Transpar[GXName] = writeGState("/SMask << /S /Luminosity /G "+Pdf::toPdf(formObject)+" 0 R >>\n/BM /" + blendMode(bmCode) + "\n");
TRes = GXName;
}
PdfId patObject = writer.newObject();
More information about the scribus-commit
mailing list