From 3ecd333bb52b085733120d58dcb412ff242b3919 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Mon, 9 Feb 2009 09:22:50 +0000 Subject: Added a flush() call in the resource handler to make sure unwritten content is flushed (not a bugfix but a precaution for an experiment I've done). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742348 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/ps/ResourceHandler.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/java/org/apache/fop/render') diff --git a/src/java/org/apache/fop/render/ps/ResourceHandler.java b/src/java/org/apache/fop/render/ps/ResourceHandler.java index bdd305164..363745f42 100644 --- a/src/java/org/apache/fop/render/ps/ResourceHandler.java +++ b/src/java/org/apache/fop/render/ps/ResourceHandler.java @@ -200,6 +200,7 @@ public class ResourceHandler implements DSCParserConstants, PSSupportedFlavors { DSCEvent event = parser.nextEvent(); event.generate(gen); } + gen.flush(); } private static void reportInvalidDSC() throws DSCException { -- cgit v1.2.3