]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed problem with link rectangle offset.
authorJoerg Pietschmann <pietsch@apache.org>
Sat, 20 Jul 2002 13:58:51 +0000 (13:58 +0000)
committerJoerg Pietschmann <pietsch@apache.org>
Sat, 20 Jul 2002 13:58:51 +0000 (13:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195015 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/layout/LineArea.java

index 7b6cb9e74a1bddeef5c5953780c1c80e6fe3752d..8e0e5bcad7d025f2216833d796ebd39bf48e3ab6 100644 (file)
@@ -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;
             }
         }
     }