r20559 by fschmid -

scribus-commit scribus-commit at lists.scribus.net
Tue Nov 17 19:37:46 UTC 2015


Author: fschmid
Date: Tue Nov 17 19:37:46 2015
New Revision: 20559

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20559
Log:
Partly fixed Bug #12245: grouped lines appear thicker, don't apply group scaling when scaling = 1.0

Modified:
    trunk/Scribus/scribus/pageitem_group.cpp

Modified: trunk/Scribus/scribus/pageitem_group.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20559&path=/trunk/Scribus/scribus/pageitem_group.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_group.cpp	(original)
+++ trunk/Scribus/scribus/pageitem_group.cpp	Tue Nov 17 19:37:46 2015
@@ -190,7 +190,8 @@
 	else
 		p->beginLayer(1.0 - fillTransparency(), fillBlendmode());
 	p->setMaskMode(0);
-	p->scale(m_width / groupWidth, m_height / groupHeight);
+	if (((m_width / groupWidth) != 1.0) || ((m_height / groupHeight) != 1.0))
+		p->scale(m_width / groupWidth, m_height / groupHeight);
 	for (int em = 0; em < groupItemList.count(); ++em)
 	{
 		PageItem* embedded = groupItemList.at(em);




More information about the scribus-commit mailing list