r16963 by jghali - #10346: Last line of paragraph at end of textframe disappears
scribus-commit
scribus-commit at lists.scribus.net
Sun Nov 6 00:13:36 UTC 2011
Author: jghali
Date: Sun Nov 6 00:13:36 2011
New Revision: 16963
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16963
Log:
#10346: Last line of paragraph at end of textframe disappears
Modified:
trunk/Scribus/scribus/pageitem_textframe.cpp
Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16963&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp (original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp Sun Nov 6 00:13:36 2011
@@ -2263,12 +2263,6 @@
current.yPos = maxDY;
maxDX = 0;
}
- if ( SpecialChars::isBreak(hl->ch) )
- {
- if (hl->ch == SpecialChars::PARSEP)
- current.yPos += style.gapAfter();
- current.hyphenCount = 0;
- }
if (current.isEndOfCol(desc))
{
//check if realy line extends bottom margin
@@ -2343,6 +2337,12 @@
lastLineY = current.rowDesc;
current.mustLineEnd = current.colRight;
current.restartRowIndex = current.restartIndex;
+ }
+ if ( SpecialChars::isBreak(hl->ch) )
+ {
+ if (hl->ch == SpecialChars::PARSEP)
+ current.yPos += style.gapAfter();
+ current.hyphenCount = 0;
}
if (inOverflow)
{
More information about the scribus-commit
mailing list