From a30b6f723be88c498b8a0fbdedd2f8c73cf4eb02 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Thu, 2 Aug 2001 10:07:14 +0000 Subject: fixes PDFDoc to work with changed interface git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194387 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/svg/PDFDocumentGraphics2D.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/org/apache') diff --git a/src/org/apache/fop/svg/PDFDocumentGraphics2D.java b/src/org/apache/fop/svg/PDFDocumentGraphics2D.java index ae790ad9a..05f230a34 100644 --- a/src/org/apache/fop/svg/PDFDocumentGraphics2D.java +++ b/src/org/apache/fop/svg/PDFDocumentGraphics2D.java @@ -134,8 +134,9 @@ public class PDFDocumentGraphics2D extends PDFGraphics2D { if (fontInfo != null) { FontSetup.addToResources(this.pdfDoc, fontInfo); } + pdfDoc.outputHeader(stream); this.pdfDoc.output(stream); - + pdfDoc.outputTrailer(stream); } public void setGraphicContext(GraphicContext c) { -- cgit v1.2.3