Bugs item #1874660, was opened at 2008-01-18 05:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102915&aid=1874660&group_id=2915

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: cairo driver: please close OutFile in plD_tidy_cairo

Initial Comment:
With the cairo driver, currently (in 5.8.0 anyway)
pls->OutFile is not closed in plD_cairo_tidy. That means that e.g. a PDF file 
is not finalized, and cannot be displayed, until the program finishes.

I am trying to write an interactive plotting program, with optional output to 
pdfs etc., so then it is useful to be able to have those pdfs finished 
completely after a call to plend1.

I have added 

  if (pls->OutFile) {
    fclose(pls->OutFile);
  }

to plD_cairo_tidy, and that does the trick for me.


Jeroen Nijhof
[EMAIL PROTECTED]


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102915&aid=1874660&group_id=2915

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to