You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ch...@apache.org on 2003/01/18 19:19:14 UTC

cvs commit: xml-fop/src/org/apache/fop/render/ps PSRenderer.java

chrisg      2003/01/18 10:19:14

  Modified:    .        Tag: fop-0_20_2-maintain CHANGES
               src/org/apache/fop/render/ps Tag: fop-0_20_2-maintain
                        PSRenderer.java
  Log:
  Reduced the size of the PSRenderer output (removed redundant movetos)
  Submitted by: Arnd Bei�ner <ar...@cappelino.de> (see bug #16130)
  VS: ----------------------------------------------------------------------
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.10.2.42 +2 -0      xml-fop/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/xml-fop/CHANGES,v
  retrieving revision 1.10.2.41
  retrieving revision 1.10.2.42
  diff -u -r1.10.2.41 -r1.10.2.42
  --- CHANGES	17 Jan 2003 14:30:35 -0000	1.10.2.41
  +++ CHANGES	18 Jan 2003 18:19:13 -0000	1.10.2.42
  @@ -1,5 +1,7 @@
   ==============================================================================
   Done since 0.20.4 release
  +- Reduced the size of the PSRenderer output (removed redundant movetos)
  +  Submitted by: Arnd Bei�ner <ar...@cappelino.de> (see bug #16130)
   - Fixed many (not all) problems with link hotspot positioning and made
     the default behavior to create a single hotspot over all words in each
     line (Karen Lease)
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.15.2.12 +1 -5      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.11
  retrieving revision 1.15.2.12
  diff -u -r1.15.2.11 -r1.15.2.12
  --- PSRenderer.java	8 Nov 2002 10:25:29 -0000	1.15.2.11
  +++ PSRenderer.java	18 Jan 2003 18:19:14 -0000	1.15.2.12
  @@ -334,7 +334,6 @@
       public void renderDisplaySpace(DisplaySpace space) {
           // write("% --- DisplaySpace size="+space.getSize());
           this.currentYPosition -= space.getSize();
  -        movetoCurrPosition();
       }
   
       /**
  @@ -352,7 +351,6 @@
           area.getObject().render(this);
           this.currentXPosition += area.getEffectiveWidth();
           this.currentYPosition -= plOffset;
  -        movetoCurrPosition();
       }
   
       /**
  @@ -649,7 +647,6 @@
           } else {
               drawImageScaled(x, y, w, h, img, area.getFontState());
           }
  -        movetoCurrPosition();
       }
   
   
  @@ -800,7 +797,6 @@
   
           int bl = this.currentYPosition;
           // method is identical to super method except next line
  -        movetoCurrPosition();
   
           String fontWeight = area.getFontState().getFontWeight();
           //comment("% --- LineArea begin font-weight="+fontWeight);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org