bugGNU Octave - Bugs: bug #41368, FLTK: printing does sometimes not...


bug #41368: FLTK: printing does sometimes not work

Submitted by:  Max Görner <maxg>
Submitted on:  Mon 27 Jan 2014 06:55:06 PM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  3.8.0 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 19 Apr 2014 04:41:24 PM UTC, comment #4: 

I'm going to close this report.  The problem appears to lie with ghostscript, and probably is distribution-specific.  In any case, it does not appear to be a bug in Octave.

Rik <rik5>
Project Administrator
Sun 09 Feb 2014 08:17:34 PM UTC, comment #3: 

I've run your script many times on my system (Debian testing 64-bit) and I do not see any problems with the resulting PNG file. If you print to other file formats (pdf or svg) do you see the same kinds of errors?

Judging by the error message you posted, this could be a ghostscript error, a bug in ghostscript or in the Ubuntu packaging of ghostscript (which is different from Debian at the moment).

For your on-screen display problems, what you describe sounds like bug #37598.

Mike Miller <mtmiller>
Project Administrator
Fri 31 Jan 2014 10:03:22 AM UTC, comment #2: 

Please find the script attached.

Some notes:
The plot looks correct as far as it seems to be possible for FLTK. Sometimes plots with fltk seem to be dashed lines and are in general no as good as those with gnuplot. If this is important, I will describe this more detailed.

Max Görner <maxg>
Tue 28 Jan 2014 12:33:46 AM UTC, comment #1: 

Can you provide a script or paste the commands you used to generate the attached PNG please?

Does the plot look correct on screen before printing to a PNG?

Mike Miller <mtmiller>
Project Administrator
Mon 27 Jan 2014 06:55:06 PM UTC, original submission:  

Hi again.
I use an almost vanilla Xubuntu 13.10, 64bit. I compiled Octave 3.8 today and tried some plotting. Unfortuntely, the result is garbage.

To compile Octave, I followed the instructions from http://blogs.bu.edu/mhirsch/2013/12/compiling-octave-3-8/

Max Görner <maxg>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #30425:  faulty_image_2.png added by maxg (27KiB - image/png)
file #30426:  error_message added by maxg (734B - application/octet-stream)
file #30427:  fltk_printing_example.m added by maxg (78B - text/x-objcsrc)
file #30390:  test.png added by maxg (41KiB - image/png - picture of unsuccessful printing)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by maxg (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-19 rik5 StatusNeed Info => Works For Me
        Open/ClosedOpen => Closed
    2014-01-31 maxg Attached File- => Added faulty_image_2.png, #30425
        Attached File- => Added error_message, #30426
        Attached File- => Added fltk_printing_example.m, #30427
    2014-01-28 mtmiller CategoryPlotting => Plotting with OpenGL
        StatusNone => Need Info
    2014-01-27 maxg Attached File- => Added test.png, #30390

    Back to the top

    Powered by Savane 3.5