Mon 20 Nov 2017 12:04:36 AM UTC, original submission:
Hello,
When using graphics_toolkit fltk, color images in uint8 or uint16 format are correctly shown on the screen but not printed (we get a black rectangle instead). However, color images in double and gray images in any format are correctly printed.
This happens with the current octave (at lease 4.2.1 and the current dev version) compiled in 32bit linux (but it is likely to affect other machines and versions too). gl2ps and fltk libraries are also current.
The following code reproduces the problem:
After investigating, I found this is due to an wrong type being used in gl2ps-print.cc.
The following patch solves the problem:
I hope the fix will be soon incorporated into the source tree.
Ricardo.
|