pietsch     2002/10/09 12:30:21

  Modified:    src/org/apache/fop/render/ps Tag: fop-0_20_2-maintain
                        PSRenderer.java
  Log:
  Fixed sloppy passing of StringBuffer which causes problems if
  debug information is generated.
  PR:13433
  Submitted by: [EMAIL PROTECTED]
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.15.2.10 +5 -4      xml-fop/src/org/apache/fop/render/ps/PSRenderer.java
  
  Index: PSRenderer.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/render/ps/PSRenderer.java,v
  retrieving revision 1.15.2.9
  retrieving revision 1.15.2.10
  diff -u -r1.15.2.9 -r1.15.2.10
  --- PSRenderer.java   12 Aug 2002 17:05:09 -0000      1.15.2.9
  +++ PSRenderer.java   9 Oct 2002 19:30:20 -0000       1.15.2.10
  @@ -724,10 +724,11 @@
           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();
           }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to