From 3a6b3e612c5236478d9be072e3103803935265f9 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 6 Nov 2007 21:10:44 +0000 Subject: 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 --- src/java/org/apache/fop/render/bitmap/PNGRendererMaker.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/java/org/apache/fop') 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; -- cgit v1.2.3