diff options
-rw-r--r-- | src/java/org/apache/fop/render/RendererFactory.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/RendererFactory.java b/src/java/org/apache/fop/render/RendererFactory.java index 5a82151e5..721ffa131 100644 --- a/src/java/org/apache/fop/render/RendererFactory.java +++ b/src/java/org/apache/fop/render/RendererFactory.java @@ -36,6 +36,7 @@ import org.apache.fop.area.AreaTreeHandler; import org.apache.fop.fo.FOEventHandler; import org.apache.fop.render.intermediate.AbstractIFDocumentHandlerMaker; import org.apache.fop.render.intermediate.IFDocumentHandler; +import org.apache.fop.render.intermediate.IFDocumentHandlerConfigurator; import org.apache.fop.render.intermediate.IFRenderer; /** @@ -329,6 +330,10 @@ public class RendererFactory { "No IF document handler for the requested format available: " + outputFormat); } IFDocumentHandler documentHandler = maker.makeIFDocumentHandler(userAgent); + IFDocumentHandlerConfigurator configurator = documentHandler.getConfigurator(); + if (configurator != null) { + configurator.configure(documentHandler); + } return documentHandler; //} } |