r23578 by craig - Test out physical DPI defaults and set higher max sane DPI

scribus-commit scribus-commit at lists.scribus.net
Thu Apr 9 20:21:12 UTC 2020


Author: craig
Date: Thu Apr  9 20:21:12 2020
New Revision: 23578

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23578
Log:
Test out physical DPI defaults and set higher max sane DPI

Modified:
    trunk/Scribus/scribus/prefsmanager.cpp

Modified: trunk/Scribus/scribus/prefsmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23578&path=/trunk/Scribus/scribus/prefsmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/prefsmanager.cpp	(original)
+++ trunk/Scribus/scribus/prefsmanager.cpp	Thu Apr  9 20:21:12 2020
@@ -338,8 +338,8 @@
 	appPrefs.docSetupPrefs.AutoSaveLocation = true;
 	appPrefs.docSetupPrefs.AutoSaveDir = "";
 	appPrefs.miscPrefs.saveEmergencyFile = true;
-	int dpi = s->logicalDotsPerInchX();
-	if ((dpi < 60) || (dpi > 200))
+	int dpi = s->physicalDotsPerInchX();
+	if ((dpi < 60) || (dpi > 400))
 		dpi = 72;
 	appPrefs.displayPrefs.displayScale = dpi / 72.0;
 




More information about the scribus-commit mailing list