diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-08-30 19:28:39 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-08-30 19:28:39 +0000 |
commit | f2f228dd3abcfbc56c6b70176676654ffbf50a0d (patch) | |
tree | babff2be818da88b4d9fd319ef6abb3e493a49c6 /src/java/org/apache/fop | |
parent | cfd4ebea2d5dd2190667bd7851ac77e7e1c86358 (diff) | |
download | xmlgraphics-fop-f2f228dd3abcfbc56c6b70176676654ffbf50a0d.tar.gz xmlgraphics-fop-f2f228dd3abcfbc56c6b70176676654ffbf50a0d.zip |
Removed unnecessary comments.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264834 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r-- | src/java/org/apache/fop/render/ps/PSSVGHandler.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/render/ps/PSSVGHandler.java b/src/java/org/apache/fop/render/ps/PSSVGHandler.java index 27c9de0cf..5d829c443 100644 --- a/src/java/org/apache/fop/render/ps/PSSVGHandler.java +++ b/src/java/org/apache/fop/render/ps/PSSVGHandler.java @@ -323,29 +323,21 @@ public class PSSVGHandler implements XMLHandler { 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: " |