r24766 by jghali - #16676: Incorrect export of linked EPS after Multiple duplicate

scribus-commit scribus-commit at lists.scribus.net
Sat Nov 6 11:23:09 UTC 2021


Author: jghali
Date: Sat Nov  6 11:23:09 2021
New Revision: 24766

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24766
Log:
#16676: Incorrect export of linked EPS after Multiple duplicate

Modified:
    trunk/Scribus/scribus/scpageoutput.cpp

Modified: trunk/Scribus/scribus/scpageoutput.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24766&path=/trunk/Scribus/scribus/scpageoutput.cpp
==============================================================================
--- trunk/Scribus/scribus/scpageoutput.cpp	(original)
+++ trunk/Scribus/scribus/scpageoutput.cpp	Sat Nov  6 11:23:09 2021
@@ -762,8 +762,8 @@
 			scImg.loadPicture(item->Pfile, item->pixm.imgInfo.actualPageNumber, cmsSettings, translateImageModeToRequest(imageMode), m_imageRes, &dummy);
 			if (extensionIndicatesEPSorPS(ext) || extensionIndicatesPDF(ext))
 			{
-				imScaleX *= (72.0 / (double) m_imageRes);
-				imScaleY *= (72.0 / (double) m_imageRes);
+				imScaleX *= (PrefsManager::instance().appPrefs.extToolPrefs.gs_Resolution / (double) m_imageRes);
+				imScaleY *= (PrefsManager::instance().appPrefs.extToolPrefs.gs_Resolution / (double) m_imageRes);
 			}
 			scImg.applyEffect(item->effectsInUse, m_doc->PageColors, useCmyk);
 			mode = imageMode;




More information about the scribus-commit mailing list