From 3a6b3e612c5236478d9be072e3103803935265f9 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 6 Nov 2007 21:10:44 +0000 Subject: [PATCH] Fixed regression: transparent-page-background was not recognized for PNG output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592554 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/render/bitmap/PNGRendererMaker.java | 7 +++++++ status.xml | 3 +++ 2 files changed, 10 insertions(+) diff --git a/src/java/org/apache/fop/render/bitmap/PNGRendererMaker.java b/src/java/org/apache/fop/render/bitmap/PNGRendererMaker.java index 6ef9e4a82..63b901668 100644 --- a/src/java/org/apache/fop/render/bitmap/PNGRendererMaker.java +++ b/src/java/org/apache/fop/render/bitmap/PNGRendererMaker.java @@ -23,6 +23,8 @@ import org.apache.fop.apps.FOUserAgent; import org.apache.fop.apps.MimeConstants; import org.apache.fop.render.AbstractRendererMaker; import org.apache.fop.render.Renderer; +import org.apache.fop.render.RendererConfigurator; +import org.apache.fop.render.java2d.Java2DRendererConfigurator; /** * RendererMaker for the PNG Renderer. @@ -37,6 +39,11 @@ public class PNGRendererMaker extends AbstractRendererMaker { return new PNGRenderer(); } + /** {@inheritDoc} */ + public RendererConfigurator getConfigurator(FOUserAgent userAgent) { + return new Java2DRendererConfigurator(userAgent); + } + /** {@inheritDoc} */ public boolean needsOutputStream() { return true; diff --git a/status.xml b/status.xml index 5975d8725..ec3b80a3e 100644 --- a/status.xml +++ b/status.xml @@ -28,6 +28,9 @@ + + Fixed regression: transparent-page-background was not recognized for PNG output. + Added check for table-cells which span more rows than available in their parent element (table-header/footer/body). -- 2.39.5