r23235 by jghali - #0015837: Import of Tiff files: the default resolution unit should be "per inch"

scribus-commit scribus-commit at lists.scribus.net
Sat Oct 5 14:07:32 UTC 2019


Author: jghali
Date: Sat Oct  5 14:07:31 2019
New Revision: 23235

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23235
Log:
#0015837: Import of Tiff files: the default resolution unit should be "per inch"

Modified:
    trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp

Modified: trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23235&path=/trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp
==============================================================================
--- trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp	(original)
+++ trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp	Sat Oct  5 14:07:31 2019
@@ -652,7 +652,7 @@
 	bool bilevel = false;
 	bool failedPS = false;
 	bool foundPS = false;
-	short resolutionunit = 0;
+	short resolutionunit = RESUNIT_INCH; // Default unit is inch
 	float xres = 72.0, yres = 72.0;
 	if (!QFile::exists(fn))
 		return false;




More information about the scribus-commit mailing list