From 97656db1bd690bb574c09afe5d9f240881702a17 Mon Sep 17 00:00:00 2001 From: Adrian Cumiskey Date: Wed, 3 Sep 2008 12:36:42 +0000 Subject: [PATCH] Fix for text decoration. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@691589 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/afp/AFPRenderer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/java/org/apache/fop/render/afp/AFPRenderer.java b/src/java/org/apache/fop/render/afp/AFPRenderer.java index d0a591409..0a6476af0 100644 --- a/src/java/org/apache/fop/render/afp/AFPRenderer.java +++ b/src/java/org/apache/fop/render/afp/AFPRenderer.java @@ -617,8 +617,7 @@ public class AFPRenderer extends AbstractPathOrientedRenderer { super.renderText(text); - //TODO fix text decoration - renderTextDecoration(font, fontSize, text, coords[Y], coords[X]); + renderTextDecoration(font, fontSize, text, y, x); } /** -- 2.39.5