r21608 by jghali - #14385: the preflight verifier should default to PDF 1.4, not to ps

scribus-commit scribus-commit at lists.scribus.net
Wed Dec 7 21:02:14 UTC 2016


Author: jghali
Date: Wed Dec  7 21:02:13 2016
New Revision: 21608

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21608
Log:
#14385: the preflight verifier should default to PDF 1.4, not to ps

Modified:
    trunk/Scribus/scribus/prefsmanager.cpp
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/prefsmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21608&path=/trunk/Scribus/scribus/prefsmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/prefsmanager.cpp	(original)
+++ trunk/Scribus/scribus/prefsmanager.cpp	Wed Dec  7 21:02:13 2016
@@ -419,7 +419,7 @@
 	appPrefs.miscPrefs.useStandardLI = false;
 	appPrefs.miscPrefs.paragraphsLI = 10;
 	initDefaultCheckerPrefs(&appPrefs.verifierPrefs.checkerPrefsList);
-	appPrefs.verifierPrefs.curCheckProfile = CommonStrings::PostScript;
+	appPrefs.verifierPrefs.curCheckProfile = CommonStrings::PDF_1_4;
 	appPrefs.verifierPrefs.showPagesWithoutErrors=false;
 	appPrefs.verifierPrefs.showNonPrintingLayerErrors=false;
 	appPrefs.pdfPrefs.Thumbnails = false;
@@ -917,7 +917,7 @@
 	if (appPrefs.verifierPrefs.checkerPrefsList.count() == 0)
 	{
 		initDefaultCheckerPrefs(&appPrefs.verifierPrefs.checkerPrefsList);
-		appPrefs.verifierPrefs.curCheckProfile = CommonStrings::PostScript;
+		appPrefs.verifierPrefs.curCheckProfile = CommonStrings::PDF_1_4;
 	}
 	if (!appPrefs.uiPrefs.mainWinState.isEmpty())
 		mw->restoreState(appPrefs.uiPrefs.mainWinState);
@@ -2343,7 +2343,7 @@
 			appPrefs.uiPrefs.RecentDocs.append(dc.attribute("Name"));
 		if (dc.tagName()=="PreflightVerifier")
 		{
-			appPrefs.verifierPrefs.curCheckProfile = dc.attribute("CurrentProfile", CommonStrings::PostScript);
+			appPrefs.verifierPrefs.curCheckProfile = dc.attribute("CurrentProfile", CommonStrings::PDF_1_4);
 			appPrefs.verifierPrefs.showPagesWithoutErrors = static_cast<bool>(dc.attribute("ShowPagesWithoutErrors", "0").toInt());
 			appPrefs.verifierPrefs.showNonPrintingLayerErrors = static_cast<bool>(dc.attribute("ShowNonPrintingLayerErrors", "0").toInt());
 			//#2516 work around old values until people won't have them anymore, not that these

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21608&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Wed Dec  7 21:02:13 2016
@@ -3611,7 +3611,7 @@
 		if (doc->checkerProfiles().count() == 0)
 		{
 			m_prefsManager->initDefaultCheckerPrefs(&(doc->checkerProfiles()));
-			doc->setCurCheckProfile(CommonStrings::PostScript);
+			doc->setCurCheckProfile(CommonStrings::PDF_1_4);
 		}
 		if (doc->pdfOptions().LPISettings.count() == 0)
 		{




More information about the scribus-commit mailing list