diff options
Diffstat (limited to 'src/java/org/apache/fop/apps/Driver.java')
-rw-r--r-- | src/java/org/apache/fop/apps/Driver.java | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/java/org/apache/fop/apps/Driver.java b/src/java/org/apache/fop/apps/Driver.java index afdee0e4d..9808c1cdf 100644 --- a/src/java/org/apache/fop/apps/Driver.java +++ b/src/java/org/apache/fop/apps/Driver.java @@ -488,19 +488,7 @@ public class Driver { } currentDocument.renderer = renderer; - foInputHandler = new FOTreeHandler(currentDocument, true); - - try { - renderer.setupFontInfo(currentDocument.getFontInfo()); - // check that the "any,normal,400" font exists - if (!currentDocument.getFontInfo().isSetupValid()) { - throw new FOPException( - "No default font defined by OutputConverter"); - } - renderer.startRenderer(stream); - } catch (IOException e) { - throw new FOPException(e); - } + foInputHandler = new FOTreeHandler(currentDocument, stream, true); } currentDocument.foInputHandler = foInputHandler; |