diff options
author | Jeremias Maerki <jeremias@apache.org> | 2004-04-02 09:16:49 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2004-04-02 09:16:49 +0000 |
commit | 7058885ff92727ac05a27924fcb843904ed5aeb1 (patch) | |
tree | 5cf4cb9d19dfcbb1565bd7aa8a7e0204da1568d5 /src | |
parent | 6661dd8605bdc6402eae791d455e3ebd386e9301 (diff) | |
download | xmlgraphics-fop-7058885ff92727ac05a27924fcb843904ed5aeb1.tar.gz xmlgraphics-fop-7058885ff92727ac05a27924fcb843904ed5aeb1.zip |
PDF library no longer gets a logger from its owner.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197481 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/render/pdf/PDFRenderer.java | 3 | ||||
-rw-r--r-- | src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFRenderer.java b/src/java/org/apache/fop/render/pdf/PDFRenderer.java index e4a7bb289..144633ecc 100644 --- a/src/java/org/apache/fop/render/pdf/PDFRenderer.java +++ b/src/java/org/apache/fop/render/pdf/PDFRenderer.java @@ -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); diff --git a/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java b/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java index 75480629a..da881ba72 100644 --- a/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java +++ b/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java @@ -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( |