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

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

[Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer ove


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing
Date: Fri, 27 Nov 2015 12:17:00 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

Follow-up Comment #9, bug #46417 (project octave):

@Rik: yes both :-). The error message should be changed and I also obtain a
white image but heavier (closer to the expected result).

Try 

pcolor (rand (200));
print try.eps


and open the eps in an editor. You'll see that the prolog has been written 3
times: we get 2 overflows before the buffer is sufficiently large. If you
delete the 2 superfluous prologs (sections starting with "%!PS-Adobe-3.0
EPSF-3.0") and save you'll get a valid eps.

The issue is that each time we retry to print after increasing the buffer
size, we use the same stream which is thus corrupted. I don't know how to fix
this without changing the interface to gl2ps::rend which expect *the caller*
(e.g. __osmesa_print__)) to provide the stream as argument.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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