DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2659
Version: 1.4-feature


The patch is actually fine, but it exposed a bug in the postscript code.
This small patch fixes it:

diff -up ./src/ps_image.cxx.orig ./src/ps_image.cxx
--- ./src/ps_image.cxx.orig     2012-06-26 12:50:10.746660116 +0200
+++ ./src/ps_image.cxx  2012-06-26 12:50:11.979638864 +0200
@@ -217,7 +217,7 @@ void Fl_PostScript_Graphics_Driver::draw
   uchar *curmask=mask;
 
   for (j=0; j<ih;j++){
-    if (mask){
+    if (mask && lang_level_>2){
 
       for (k=0;k<my/ih;k++){
         for (i=0; i<((mx+7)/8);i++){


Link: http://www.fltk.org/str.php?L2659
Version: 1.4-feature

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to