r21398 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Wed Jun 29 21:36:23 UTC 2016
Author: jghali
Date: Wed Jun 29 21:36:23 2016
New Revision: 21398
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21398
Log:
fix PDF layers not working in Acrobat Reader
Modified:
trunk/Scribus/scribus/pdfwriter.cpp
Modified: trunk/Scribus/scribus/pdfwriter.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21398&path=/trunk/Scribus/scribus/pdfwriter.cpp
==============================================================================
--- trunk/Scribus/scribus/pdfwriter.cpp (original)
+++ trunk/Scribus/scribus/pdfwriter.cpp Wed Jun 29 21:36:23 2016
@@ -816,7 +816,7 @@
{
write("/Properties << \n");
QMap<QByteArray,PdfId>::ConstIterator it4p;
- for (it4p = dict.ExtGState.begin(); it4p != dict.ExtGState.end(); ++it4p)
+ for (it4p = dict.Properties.begin(); it4p != dict.Properties.end(); ++it4p)
write(Pdf::toName(it4p.key()) + " " + Pdf::toObjRef(it4p.value()) + "\n");
write(">>\n");
}
More information about the scribus-commit
mailing list