r21144 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Fri Apr 1 02:30:01 UTC 2016


Author: jghali
Date: Fri Apr  1 02:30:01 2016
New Revision: 21144

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21144
Log:
fixes rendering of text shadow effect vs pre-boxes build

Modified:
    trunk/Scribus/scribus/text/boxes.cpp

Modified: trunk/Scribus/scribus/text/boxes.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21144&path=/trunk/Scribus/scribus/text/boxes.cpp
==============================================================================
--- trunk/Scribus/scribus/text/boxes.cpp	(original)
+++ trunk/Scribus/scribus/text/boxes.cpp	Fri Apr  1 02:30:01 2016
@@ -548,10 +548,10 @@
 		}
 		else
 		{
-			if (m_effects & ScStyle_Shadowed && hasStrokeColor)
-			{
-				double xoff = (charStyle.fontSize() * gl.scaleH * charStyle.shadowXOffset() / 10000.0) / glxSc;
-				double yoff = (charStyle.fontSize() * gl.scaleV * charStyle.shadowYOffset() / 10000.0) / glySc;
+			if ((m_effects & ScStyle_Shadowed) && hasStrokeColor)
+			{
+				double xoff = (charStyle.fontSize() * gl.scaleH * charStyle.shadowXOffset() / 10000.0);
+				double yoff = (charStyle.fontSize() * gl.scaleV * charStyle.shadowYOffset() / 10000.0);
 
 				bool s = p->selected();
 				const TextLayoutColor& fc = p->fillColor();




More information about the scribus-commit mailing list