r16983 by jghali - #10385 (first part) : shifted line when using baseline offset + fixed linespacing
scribus-commit
scribus-commit at lists.scribus.net
Wed Nov 16 23:08:26 UTC 2011
Author: jghali
Date: Wed Nov 16 23:08:26 2011
New Revision: 16983
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16983
Log:
#10385 (first part) : shifted line when using baseline offset + fixed linespacing
Modified:
branches/Version135/Scribus/scribus/pageitem_textframe.cpp
Modified: branches/Version135/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16983&path=/branches/Version135/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/pageitem_textframe.cpp (original)
+++ branches/Version135/Scribus/scribus/pageitem_textframe.cpp Wed Nov 16 23:08:26 2011
@@ -1572,7 +1572,7 @@
double diff = 0;
if (current.startOfCol || DropCmode)
diff = realAsce - (current.yPos - lastLineY);
- else
+ else if (style.lineSpacingMode() != ParagraphStyle::FixedLineSpacing)
diff = charStyle.font().realCharAscent(QChar('l'), hlcsize10) * scaleV + offset - (current.yPos - lastLineY);
if (diff >= 1 || (!DropCmode && diff > 0))
{
More information about the scribus-commit
mailing list