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

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

[Octave-bug-tracker] [bug #44806] MXE Octave freezes after print command


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #44806] MXE Octave freezes after print command
Date: Sun, 19 Apr 2015 03:58:13 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36

Follow-up Comment #20, bug #44806 (project octave):

I have added checking of return values

+verbatin+
    if (drawn_axes)
      {
        GLint vp[4];
        GLint rv;

        rv = gl2psEndViewport ();
        std::cout << " gl2psEndViewport: " << rv << std::endl;

        glGetIntegerv (GL_VIEWPORT, vp);
        std::cout << "Viewport: " << vp[0] << ", " <<  vp[1] << ", "
                  <<  vp[2] << ", " <<  vp[3] << std::endl;
        rv = gl2psBeginViewport (vp);
        std::cout << " gl2psBeginViewport: " << rv << std::endl;
      }


but the result is


>> plot (1:10, ';foo;')

>> print -dpsc e1.ps
### after killing gs.exe
gl2psEndViewport: 0
Viewport: 0, 0, 576, 432
gl2psBeginViewport: 0
GL2PS warning: Unknown token in buffer


The return values for gl2psEndViewport and gl2psBeginViewport are both 0.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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