]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
flush stream so that cocoon+batik doesn't cut the data off
authorKeiron Liddle <keiron@apache.org>
Wed, 30 Oct 2002 15:37:04 +0000 (15:37 +0000)
committerKeiron Liddle <keiron@apache.org>
Wed, 30 Oct 2002 15:37:04 +0000 (15:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195386 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/svg/PDFDocumentGraphics2D.java

index 072fcde8578c0d4f080da65f8857077b6510c4b5..e147f8b90c21efaf60a33c9d51c69b0bfbc93d5d 100644 (file)
@@ -185,6 +185,8 @@ public class PDFDocumentGraphics2D extends PDFGraphics2D {
         }
         this.pdfDoc.output(outputStream);
         pdfDoc.outputTrailer(outputStream);
+
+        outputStream.flush();
     }
 
     /**