diff options
author | Chris Bowditch <cbowditch@apache.org> | 2009-12-29 15:15:26 +0000 |
---|---|---|
committer | Chris Bowditch <cbowditch@apache.org> | 2009-12-29 15:15:26 +0000 |
commit | 1aa20c5c46f9dbc982a8e890782c5b78df72ead7 (patch) | |
tree | 21b660fc355a272b98561b508430bb7eef98527b /src | |
parent | 547ca3ed7da910ccac84a8c593fee58e50d51f7d (diff) | |
download | xmlgraphics-fop-1aa20c5c46f9dbc982a8e890782c5b78df72ead7.tar.gz xmlgraphics-fop-1aa20c5c46f9dbc982a8e890782c5b78df72ead7.zip |
Bugfix: 48456 AFP Renderer: Underline is incorrectly placed when reference-orientation != 0
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@894416 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/afp/AFPRectanglePainter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/afp/AFPRectanglePainter.java b/src/java/org/apache/fop/afp/AFPRectanglePainter.java index e2bad6159..5b79a3f57 100644 --- a/src/java/org/apache/fop/afp/AFPRectanglePainter.java +++ b/src/java/org/apache/fop/afp/AFPRectanglePainter.java @@ -76,7 +76,7 @@ public class AFPRectanglePainter extends AbstractAFPPainter { case 270: lineDataInfo.x1 = pageHeight - Math.round((float)at.getTranslateY() - x); lineDataInfo.y1 = lineDataInfo.y2 = Math.round((float)at.getTranslateX() + y); - lineDataInfo.x2 = lineDataInfo.x1 + Math.round(width - x); + lineDataInfo.x2 = pageHeight - Math.round((float)at.getTranslateY() - x - width); break; } dataStream.createLine(lineDataInfo); |