You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2008/06/17 10:54:07 UTC
svn commit: r668570 -
/xmlgraphics/fop/branches/fop-0_95/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
Author: jeremias
Date: Tue Jun 17 01:54:07 2008
New Revision: 668570
URL: http://svn.apache.org/viewvc?rev=668570&view=rev
Log:
Wrong line number reported in the case of a line overflow.
Modified:
xmlgraphics/fop/branches/fop-0_95/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
Modified: xmlgraphics/fop/branches/fop-0_95/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/fop-0_95/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java?rev=668570&r1=668569&r2=668570&view=diff
==============================================================================
--- xmlgraphics/fop/branches/fop-0_95/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java (original)
+++ xmlgraphics/fop/branches/fop-0_95/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java Tue Jun 17 01:54:07 2008
@@ -386,7 +386,7 @@
if (lack < 0) {
String textDiff = (lack < -50000 ? "more than 50 points" : (-lack) + "mpt");
log.warn(FONode.decorateWithContextInfo(
- "Line " + (addedPositions + 1)
+ "Line " + bestActiveNode.line
+ " of a paragraph overflows the available area by "
+ textDiff + ".", getFObj()));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org
Re: svn commit: r668570 - /xmlgraphics/fop/branches/fop-0_95/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
Posted by Andreas Delmelle <an...@telenet.be>.
On Jun 17, 2008, at 10:54, jeremias@apache.org wrote:
> Author: jeremias
> Date: Tue Jun 17 01:54:07 2008
> New Revision: 668570
>
> URL: http://svn.apache.org/viewvc?rev=668570&view=rev
> Log:
> Wrong line number reported in the case of a line overflow.
Too fast for me... :-)
Cheers
Andreas