octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #35439] fltk printed png is restricted by disp


From: Konstantinos Poulios
Subject: [Octave-bug-tracker] [bug #35439] fltk printed png is restricted by display size
Date: Fri, 14 Dec 2012 11:22:14 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0

Update of bug #35439 (project octave):

                  Status:               Postponed => Confirmed              

    _______________________________________________________

Follow-up Comment #8:

I do not agree that this is a restriction of fltk/gl2ps.

If I comment out the setting of position in print.m:

 %    set (opts.figure, "position", fpos);

I can print the attached file with:

 plot(1,1)
 fpos = get (gcf, "position");
 set (gcf, "position", [fpos(1),fpos(2),fpos(3),2000])
 print('-dpng', '/tmp/test.png')

Actually I suspect that this issue is just another manifestation of a race
condition between fltk and octave, as I have described it in detail here:

https://mailman.cae.wisc.edu/pipermail/octave-maintainers/2012-June/028580.html

Other manifestations of this fundamental bug are random output sizes depending
e.g. if print is issued interactively or in a script or if "waits" and
"drawnows" are added in the code.

(file #27094)
    _______________________________________________________

Additional Item Attachment:

File name: test.png                       Size:11 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35439>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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