xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r264834 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSSVGHandler.java
Date Tue, 30 Aug 2005 19:28:42 GMT
Author: jeremias
Date: Tue Aug 30 12:28:39 2005
New Revision: 264834

URL: http://svn.apache.org/viewcvs?rev=264834&view=rev
Log:
Removed unnecessary comments.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSSVGHandler.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSSVGHandler.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSSVGHandler.java?rev=264834&r1=264833&r2=264834&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSSVGHandler.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSSVGHandler.java Tue Aug 30 12:28:39
2005
@@ -323,29 +323,21 @@
                     gen.concatMatrix(vals);
                 }
 
-                /*
-                if (psInfo.pdfContext == null) {
-                    psInfo.pdfContext = psInfo.pdfPage;
-                }*/
                 final boolean textAsShapes = false;
                 PSGraphics2D graphics = new PSGraphics2D(textAsShapes, gen);
                 graphics.setGraphicContext(new org.apache.batik.ext.awt.g2d.GraphicContext());
-                //psInfo.pdfState.push();
                 transform = new AffineTransform();
                 // scale to viewbox
                 transform.translate(xOffset, yOffset);
                 gen.getCurrentState().concatMatrix(transform);
-                //graphics.setPDFState(psInfo.pdfState);
                 try {
                     root.paint(graphics);
-                    //psInfo.currentStream.add(graphics.getString());
                 } catch (Exception e) {
                     log.error("SVG graphic could not be rendered: "
                                            + e.getMessage(), e);
                 }
 
                 psInfo.psGenerator.restoreGraphicsState();
-                //psInfo.pdfState.pop();
                 gen.commentln("%FOPEndSVG");
             } catch (IOException ioe) {
                 log.error("SVG graphic could not be rendered: "



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


Mime
View raw message