xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r668570 - /xmlgraphics/fop/branches/fop-0_95/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
Date Tue, 17 Jun 2008 08:54:07 GMT
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


Mime
View raw message