octave-maintainers
[Top][All Lists]
Advanced

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

Re: Overhaul FLTK toolkit resize/redraw functions


From: Andreas Weber
Subject: Re: Overhaul FLTK toolkit resize/redraw functions
Date: Thu, 24 Jul 2014 09:23:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0

Am 23.07.2014 20:18, schrieb Ben Abbott:

> On MacOS X, I can confirm that I'm able to print when the figure window is
> minimized and I've built Octave using fltk_overhaul.diff.
> 
> However, line objects no longer print for me. For the example below, I've 
> attached junk.pdf
> 
> figure (1)
> clf ()
> plot (rand(3))
> print -dpdfwrite junk.pdf
> 

Hi Ben, thanks for testing.

Do you see the lines in the plot window? Is this only when called
figure(1), clf() before plot or does this also happen when calling
plot(rand(3)) alone?

Please try:
plot(rand(3))
print -color -deps junk.eps

This bypasses "gs" and stores the ouput of gl2ps directly.

Then please try
drawnow("eps", "dummy", false, "junk2.eps")

Which does basically the same as print -color -deps but doesn't do a
resize of the canvas before drawnow which could be a reason for timing
issues.

If it's a timing issue you could add

draw ();

in OpenGL_fltk::print just before glps_renderer rend (fp, term);


For the MXE build we have a bug report #42534 "No lines when printing
plot (fltk)" which perhaps could be related.

-- Andy




reply via email to

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