aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/svg
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-10-30 15:37:04 +0000
committerKeiron Liddle <keiron@apache.org>2002-10-30 15:37:04 +0000
commit66e31fad1ba5db1cff6dd25808b5c78dae6c73ba (patch)
tree52fa24b6ad94650f6315088610c06227ff1cfc6a /src/org/apache/fop/svg
parent654077411d1f5e6430215db2e56be6a910223a89 (diff)
downloadxmlgraphics-fop-66e31fad1ba5db1cff6dd25808b5c78dae6c73ba.tar.gz
xmlgraphics-fop-66e31fad1ba5db1cff6dd25808b5c78dae6c73ba.zip
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
Diffstat (limited to 'src/org/apache/fop/svg')
-rw-r--r--src/org/apache/fop/svg/PDFDocumentGraphics2D.java2
1 files changed, 2 insertions, 0 deletions
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();
}
/**