r16991 by jghali - fix incorrect vertical alignment of text when enabling drop caps

scribus-commit scribus-commit at lists.scribus.net
Sun Nov 20 00:00:03 UTC 2011


Author: jghali
Date: Sun Nov 20 00:00:03 2011
New Revision: 16991

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16991
Log:
fix incorrect vertical alignment of text when enabling drop caps

Modified:
    trunk/Scribus/scribus/pageitem_textframe.cpp

Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16991&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp (original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp Sun Nov 20 00:00:03 2011
@@ -1440,7 +1440,6 @@
 						DropLines = style.dropCapLines();
 						DropCapDrop = calculateLineSpacing (style, this) * (DropLines - 1);
 //						qDebug() << QString("dropcapdrop: y=%1+%2").arg(current.yPos).arg(DropCapDrop);
-						current.yPos += DropCapDrop;
 					}
 				}
 			}




More information about the scribus-commit mailing list