From: Adrian Cumiskey Date: Wed, 3 Sep 2008 12:36:42 +0000 (+0000) Subject: Fix for text decoration. X-Git-Tag: fop-1_0~376^2~76 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=97656db1bd690bb574c09afe5d9f240881702a17;p=xmlgraphics-fop.git Fix for text decoration. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@691589 13f79535-47bb-0310-9956-ffa450edef68 --- 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); } /**