Author: lbernardo
Date: Thu Feb 21 23:56:09 2013
New Revision: 1448860

URL: http://svn.apache.org/r1448860
Log:
FOP-2177: If a right aligned image exceeds a table cells bounds, it will 
overflow in the wrong direction; patch submitted by Robert Meyer

Modified:
    
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java

Modified: 
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java?rev=1448860&r1=1448859&r2=1448860&view=diff
==============================================================================
--- 
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
 (original)
+++ 
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
 Thu Feb 21 23:56:09 2013
@@ -349,7 +349,7 @@ public class LineLayoutManager extends I
                 endIndent = difference > 0 ? difference : 0;
                 break;
             case Constants.EN_END:
-                startIndent = difference > 0 ? difference : 0;
+                startIndent = difference;
                 endIndent = 0;
                 break;
             case Constants.EN_CENTER:



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to