aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2007-11-06 21:10:44 +0000
committerJeremias Maerki <jeremias@apache.org>2007-11-06 21:10:44 +0000
commit3a6b3e612c5236478d9be072e3103803935265f9 (patch)
tree657047c6fcacaa942d66c78966e18c83e8fbf0cf /src/java/org/apache/fop/render
parent35d27e8af090775d95c699f6ea4be4e708370fd4 (diff)
downloadxmlgraphics-fop-3a6b3e612c5236478d9be072e3103803935265f9.tar.gz
xmlgraphics-fop-3a6b3e612c5236478d9be072e3103803935265f9.zip
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
Diffstat (limited to 'src/java/org/apache/fop/render')
-rw-r--r--src/java/org/apache/fop/render/bitmap/PNGRendererMaker.java7
1 files changed, 7 insertions, 0 deletions
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.
@@ -38,6 +40,11 @@ public class PNGRendererMaker extends AbstractRendererMaker {
}
/** {@inheritDoc} */
+ public RendererConfigurator getConfigurator(FOUserAgent userAgent) {
+ return new Java2DRendererConfigurator(userAgent);
+ }
+
+ /** {@inheritDoc} */
public boolean needsOutputStream() {
return true;
}