From: Keiron Liddle Date: Wed, 30 Oct 2002 15:37:04 +0000 (+0000) Subject: flush stream so that cocoon+batik doesn't cut the data off X-Git-Tag: Alt-Design-integration-base~369 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=66e31fad1ba5db1cff6dd25808b5c78dae6c73ba;p=xmlgraphics-fop.git flush stream so that cocoon+batik doesn't cut the data off git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195386 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/svg/PDFDocumentGraphics2D.java b/src/org/apache/fop/svg/PDFDocumentGraphics2D.java index 072fcde85..e147f8b90 100644 --- a/src/org/apache/fop/svg/PDFDocumentGraphics2D.java +++ b/src/org/apache/fop/svg/PDFDocumentGraphics2D.java @@ -185,6 +185,8 @@ public class PDFDocumentGraphics2D extends PDFGraphics2D { } this.pdfDoc.output(outputStream); pdfDoc.outputTrailer(outputStream); + + outputStream.flush(); } /**