]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
fixes PDFDoc to work with changed interface
authorKeiron Liddle <keiron@apache.org>
Thu, 2 Aug 2001 10:07:14 +0000 (10:07 +0000)
committerKeiron Liddle <keiron@apache.org>
Thu, 2 Aug 2001 10:07:14 +0000 (10:07 +0000)
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

index ae790ad9aa9c1f088ee74b16baf3c81fbe7d26c4..05f230a3438739d559204ea7e3a9288811733ea7 100644 (file)
@@ -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) {