r22027 by jghali - fix ICC profiles related to PDF export options not being collected by "Collect for Output"

scribus-commit scribus-commit at lists.scribus.net
Mon May 15 20:30:30 UTC 2017


Author: jghali
Date: Mon May 15 20:30:30 2017
New Revision: 22027

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22027
Log:
fix ICC profiles related to PDF export options not being collected by "Collect for Output"

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22027&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp	(original)
+++ trunk/Scribus/scribus/scribusdoc.cpp	Mon May 15 20:30:30 2017
@@ -4609,14 +4609,21 @@
 	QList<PageItem*> allItems;
 	profileNames.append(m_docPrefsData.colorPrefs.DCMSset.DefaultSolidColorRGBProfile);
 	profileNames.append(m_docPrefsData.colorPrefs.DCMSset.DefaultSolidColorCMYKProfile);
-	if ( profileNames.indexOf(m_docPrefsData.colorPrefs.DCMSset.DefaultImageRGBProfile) < 0 )
+	if (profileNames.indexOf(m_docPrefsData.colorPrefs.DCMSset.DefaultImageRGBProfile) < 0 )
 		profileNames.append(m_docPrefsData.colorPrefs.DCMSset.DefaultImageRGBProfile);
-	if ( profileNames.indexOf(m_docPrefsData.colorPrefs.DCMSset.DefaultImageCMYKProfile) < 0 )
+	if (profileNames.indexOf(m_docPrefsData.colorPrefs.DCMSset.DefaultImageCMYKProfile) < 0 )
 		profileNames.append(m_docPrefsData.colorPrefs.DCMSset.DefaultImageCMYKProfile);
-	if ( profileNames.indexOf(m_docPrefsData.colorPrefs.DCMSset.DefaultMonitorProfile) < 0 )
+	if (profileNames.indexOf(m_docPrefsData.colorPrefs.DCMSset.DefaultMonitorProfile) < 0 )
 		profileNames.append(m_docPrefsData.colorPrefs.DCMSset.DefaultMonitorProfile);
-	if ( profileNames.indexOf(m_docPrefsData.colorPrefs.DCMSset.DefaultPrinterProfile) < 0 )
+	if (profileNames.indexOf(m_docPrefsData.colorPrefs.DCMSset.DefaultPrinterProfile) < 0 )
 		profileNames.append(m_docPrefsData.colorPrefs.DCMSset.DefaultPrinterProfile);
+
+	if (profileNames.indexOf(m_docPrefsData.pdfPrefs.SolidProf) < 0)
+		profileNames.append(m_docPrefsData.pdfPrefs.SolidProf);
+	if (profileNames.indexOf(m_docPrefsData.pdfPrefs.ImageProf) < 0)
+		profileNames.append(m_docPrefsData.pdfPrefs.ImageProf);
+	if (profileNames.indexOf(m_docPrefsData.pdfPrefs.PrintProf) < 0)
+		profileNames.append(m_docPrefsData.pdfPrefs.PrintProf);
 	
 	for (int lc = 0; lc < 2; ++lc)
 	{




More information about the scribus-commit mailing list