r14957 by fschmid - Fixed Bug #8989: "No visual indicator for the contour line"

scribus-commit scribus-commit at lists.scribus.net
Sat Apr 10 20:50:39 CEST 2010


Revision: 14957
Author: fschmid
Date: 2010-04-10T18:43:27.826214Z
Commit message: Fixed Bug #8989: "No visual indicator for the contour line"

Changeset: 
M  /branches/Version135/Scribus/scribus/pageitem.cpp

Diffs:
Index: scribus/pageitem.cpp
===================================================================
--- scribus/pageitem.cpp	(revision 14956)
+++ scribus/pageitem.cpp	(revision 14957)
@@ -1252,7 +1252,7 @@
 		}
 		if ((m_Doc->guidesSettings.framesShown) && textFlowUsesContourLine() && (ContourLine.size() != 0))
 		{
-			p->setPen(Qt::lightGray, scpInv, Qt::DotLine, Qt::FlatCap, Qt::MiterJoin);
+			p->setPen(Qt::darkGray, 1.0 / qMax(view->scale(), 1.0), Qt::DotLine, Qt::FlatCap, Qt::MiterJoin);
 // Ugly Hack to fix rendering problems with cairo >=1.5.10 && <1.8.0 follows
 #ifdef HAVE_CAIRO
 	#if ((CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 5, 10)) && (CAIRO_VERSION < CAIRO_VERSION_ENCODE(1, 8, 0)))




More information about the scribus-commit mailing list