From f50dd992ab6c2e2ff0118b2658f743b7c62c1b30 Mon Sep 17 00:00:00 2001 From: Joerg Pietschmann Date: Wed, 9 Oct 2002 19:30:20 +0000 Subject: [PATCH] Fixed sloppy passing of StringBuffer which causes problems if debug information is generated. PR:13433 Submitted by: PeekGM@az1.BP.com git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195317 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/render/ps/PSRenderer.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/org/apache/fop/render/ps/PSRenderer.java b/src/org/apache/fop/render/ps/PSRenderer.java index d77689dce..4499a3114 100644 --- a/src/org/apache/fop/render/ps/PSRenderer.java +++ b/src/org/apache/fop/render/ps/PSRenderer.java @@ -724,10 +724,11 @@ public class PSRenderer extends AbstractRenderer { if (area.getFontState().getLetterSpacing() > 0) { //float f = area.getFontState().getLetterSpacing() * 1000 / this.currentFontSize; float f = area.getFontState().getLetterSpacing(); - psString = (new StringBuffer().append(f).append(" 0.0 (").append(sb). - append(") A")).toString(); + psString = (new StringBuffer().append(f).append(" 0.0 (") + .append(sb.toString()).append(") A")).toString(); } else { - psString = (new StringBuffer("(").append(sb).append(") t")).toString(); + psString = (new StringBuffer("(").append(sb.toString()) + .append(") t")).toString(); } -- 2.39.5