]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
PDF library no longer gets a logger from its owner.
authorJeremias Maerki <jeremias@apache.org>
Fri, 2 Apr 2004 09:16:49 +0000 (09:16 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 2 Apr 2004 09:16:49 +0000 (09:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197481 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/pdf/PDFRenderer.java
src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java

index e4a7bb28993a58ecc0a47bf9fe4e1f147bf1a9d3..144633eccf993e70bf6b77013c74cd83dec1af77 100644 (file)
@@ -249,7 +249,6 @@ public class PDFRenderer extends PrintRenderer {
         ostream = stream;
         producer = "FOP " + Version.getVersion();
         this.pdfDoc = new PDFDocument(producer);
-        this.pdfDoc.setLogger(logger);
         this.pdfDoc.setCreator(creator);
         this.pdfDoc.setCreationDate(creationDate);
         this.pdfDoc.setFilterMap(filterMap);
@@ -517,7 +516,7 @@ public class PDFRenderer extends PrintRenderer {
         currentFontName = "";
         Rectangle2D viewArea = region.getViewArea();
         float startx = (float)(viewArea.getX() / 1000f);
-        float starty = (float)(viewArea.getY() / 1000f);;
+        float starty = (float)(viewArea.getY() / 1000f);
         float width = (float)(viewArea.getWidth() / 1000f);
         float height = (float)(viewArea.getHeight() / 1000f);
 
index 75480629adf92eaac21be59bff02dfbb3d94daa1..da881ba72f3033fc017cffed0311b510f347f6db 100644 (file)
@@ -33,7 +33,6 @@ import org.apache.avalon.framework.activity.Initializable;
 import org.apache.avalon.framework.configuration.Configurable;
 import org.apache.avalon.framework.configuration.Configuration;
 import org.apache.avalon.framework.configuration.ConfigurationException;
-import org.apache.avalon.framework.container.ContainerUtil;
 import org.apache.commons.logging.impl.SimpleLog;
 import org.apache.commons.logging.Log;
 import org.apache.fop.apps.Document;
@@ -168,7 +167,6 @@ public class PDFDocumentGraphics2D extends PDFGraphics2D
         }
 
         this.pdfDoc = new PDFDocument("Apache FOP: SVG to PDF Transcoder");
-        this.pdfDoc.setLogger(getLogger());
 
         if (this.cfg != null) {
             this.pdfDoc.setFilterMap(