From: Joerg Pietschmann Date: Sat, 20 Jul 2002 13:58:51 +0000 (+0000) Subject: Fixed problem with link rectangle offset. X-Git-Tag: fop-0_20_5rc~120 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ba9b6018b6914dc738861349a41d11b80b27d9f0;p=xmlgraphics-fop.git Fixed problem with link rectangle offset. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195015 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/layout/LineArea.java b/src/org/apache/fop/layout/LineArea.java index 7b6cb9e74..8e0e5bcad 100644 --- a/src/org/apache/fop/layout/LineArea.java +++ b/src/org/apache/fop/layout/LineArea.java @@ -1373,7 +1373,6 @@ public class LineArea extends Area { this.green, this.blue, currentWord, wordWidth); - startw += wordWidth; ia.setYOffset(placementOffset); ia.setUnderlined(textState.getUnderlined()); prevUlState = textState.getUnderlined(); @@ -1395,6 +1394,7 @@ public class LineArea extends Area { fontState.getFontSize()); ls.addRect(lr, this, ia); } + startw += wordWidth; } } }