aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2001-08-02 10:07:14 +0000
committerKeiron Liddle <keiron@apache.org>2001-08-02 10:07:14 +0000
commita30b6f723be88c498b8a0fbdedd2f8c73cf4eb02 (patch)
tree247b4eee8267724df029f476b86ea8440681458c /src/org/apache
parent1f8404ea3f3676a23a7eced8e6558efefd2e03e0 (diff)
downloadxmlgraphics-fop-a30b6f723be88c498b8a0fbdedd2f8c73cf4eb02.tar.gz
xmlgraphics-fop-a30b6f723be88c498b8a0fbdedd2f8c73cf4eb02.zip
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
Diffstat (limited to 'src/org/apache')
-rw-r--r--src/org/apache/fop/svg/PDFDocumentGraphics2D.java3
1 files changed, 2 insertions, 1 deletions
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) {