octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fltk print problem


From: Shai Ayal
Subject: Re: fltk print problem
Date: Wed, 20 Jan 2010 06:37:35 +0200



On Tue, Jan 19, 2010 at 11:26 PM, Michael D Godfrey <address@hidden> wrote:
Shai,

Did you see my posting which points out that there is a problem
using print("xxx.ps")  if the file xxx.ps already exists.  The
failure is quite strange:

1. The first occurrence of this in a script always works.

2. After a few more successful writes replacing files that
    previously existed, subsequent writes fail.  By fail I
   mean the new file is not written, but no error is indicated.

3. At first I thought that this was due to timing or the need for
    refresh(h).  refresh() does help in some cases.

4. The thing that really fixes the problem is to delete the
    current file before the print().

 Sounds very strange. gl2ps-renderer uses the c open function to open the file, overwriting the old file.
Can you send a script that will always reproduce the problem?

Shai

reply via email to

[Prev in Thread] Current Thread [Next in Thread]