From: Joerg Pietschmann Date: Wed, 9 Oct 2002 19:30:20 +0000 (+0000) Subject: Fixed sloppy passing of StringBuffer which causes problems if X-Git-Tag: fop-0_20_5rc~84 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f50dd992ab6c2e2ff0118b2658f743b7c62c1b30;p=xmlgraphics-fop.git 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 --- 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(); }