]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed sloppy passing of StringBuffer which causes problems if
authorJoerg Pietschmann <pietsch@apache.org>
Wed, 9 Oct 2002 19:30:20 +0000 (19:30 +0000)
committerJoerg Pietschmann <pietsch@apache.org>
Wed, 9 Oct 2002 19:30:20 +0000 (19:30 +0000)
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

index d77689dce8c733016478bc312dbff2f191aca70d..4499a3114b0f95228251dd4d8e9ff1fcebb334f2 100644 (file)
@@ -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();
         }