You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ke...@apache.org on 2001/08/02 12:07:14 UTC

cvs commit: xml-fop/src/org/apache/fop/svg PDFDocumentGraphics2D.java

keiron      01/08/02 03:07:14

  Modified:    src/org/apache/fop/svg PDFDocumentGraphics2D.java
  Log:
  fixes PDFDoc to work with changed interface
  
  Revision  Changes    Path
  1.10      +4 -3      xml-fop/src/org/apache/fop/svg/PDFDocumentGraphics2D.java
  
  Index: PDFDocumentGraphics2D.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/PDFDocumentGraphics2D.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- PDFDocumentGraphics2D.java	2001/07/30 20:29:34	1.9
  +++ PDFDocumentGraphics2D.java	2001/08/02 10:07:14	1.10
  @@ -1,5 +1,5 @@
   /*
  - * $Id: PDFDocumentGraphics2D.java,v 1.9 2001/07/30 20:29:34 tore Exp $
  + * $Id: PDFDocumentGraphics2D.java,v 1.10 2001/08/02 10:07:14 keiron Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -31,7 +31,7 @@
    * <tt>PDFGraphics2D</tt>.
    *
    * @author <a href="mailto:keiron@aftexsw.com">Keiron Liddle</a>
  - * @version $Id: PDFDocumentGraphics2D.java,v 1.9 2001/07/30 20:29:34 tore Exp $
  + * @version $Id: PDFDocumentGraphics2D.java,v 1.10 2001/08/02 10:07:14 keiron Exp $
    * @see org.apache.fop.svg.PDFGraphics2D
    */
   public class PDFDocumentGraphics2D extends PDFGraphics2D {
  @@ -134,8 +134,9 @@
           if (fontInfo != null) {
               FontSetup.addToResources(this.pdfDoc, fontInfo);
           }
  +        pdfDoc.outputHeader(stream);
           this.pdfDoc.output(stream);
  -
  +        pdfDoc.outputTrailer(stream);
       }
   
       public void setGraphicContext(GraphicContext c) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org