pbwest      2003/06/20 03:21:50

  Modified:    src/java/org/apache/fop/render/ps PSRenderer.java
  Log:
  Static method accessed in static manner.
  Spaces before ';' removed.
  Array specifiers moved.
  
  Revision  Changes    Path
  1.4       +6 -6      xml-fop/src/java/org/apache/fop/render/ps/PSRenderer.java
  
  Index: PSRenderer.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/render/ps/PSRenderer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PSRenderer.java   17 Apr 2003 15:35:20 -0000      1.3
  +++ PSRenderer.java   20 Jun 2003 10:21:50 -0000      1.4
  @@ -464,7 +464,7 @@
           for (int i = 0; i < text.length(); i++) {
               final char c = text.charAt(i);
               final char mapped = font.mapChar(c);
  -            gen.escapeChar(mapped, sb);
  +            PSGenerator.escapeChar(mapped, sb);
           }
           sb.append(") t");
           writeln(sb.toString());
  @@ -642,7 +642,7 @@
           saveGraphicsState();
           // multiply with current CTM
           //writeln(CTMHelper.toPDFString(ctm) + " cm\n");
  -        final double matrix[] = ctm.toArray();
  +        final double[] matrix = ctm.toArray();
           concatMatrix(matrix);
           
           // Set clip?
  @@ -753,7 +753,7 @@
                   //saveGraphicsState();
               }
   
  -            float bwidth = bps.width ;
  +            float bwidth = bps.width;
               updateColor(bps.color, false, null);
               writeln(bwidth + " setlinewidth");
   
  @@ -770,7 +770,7 @@
                   //saveGraphicsState();
               }
   
  -            float bwidth = bps.width ;
  +            float bwidth = bps.width;
               updateColor(bps.color, false, null);
               writeln(bwidth + " setlinewidth");
   
  @@ -788,7 +788,7 @@
                   //saveGraphicsState();
               }
   
  -            float bwidth = bps.width ;
  +            float bwidth = bps.width;
               updateColor(bps.color, false, null);
               writeln(bwidth + " setlinewidth");
   
  @@ -806,7 +806,7 @@
                   //saveGraphicsState();
               }
   
  -            float bwidth = bps.width ;
  +            float bwidth = bps.width;
               updateColor(bps.color, false, null);
               writeln(bwidth + " setlinewidth");
               drawLine(sx - bwidth / 2, starty, sx - bwidth / 2, endy);
  
  
  

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

Reply via email to