Author: manolo
Date: 2010-09-04 05:49:35 -0700 (Sat, 04 Sep 2010)
New Revision: 7696
Log:
Simpler PostScript output of Fl_Bitmap objects

Modified:
   branches/branch-1.3/src/Fl_PostScript.cxx
   branches/branch-1.3/src/ps_image.cxx

Modified: branches/branch-1.3/src/Fl_PostScript.cxx
===================================================================
--- branches/branch-1.3/src/Fl_PostScript.cxx   2010-09-03 16:35:32 UTC (rev 
7695)
+++ branches/branch-1.3/src/Fl_PostScript.cxx   2010-09-04 12:49:35 UTC (rev 
7696)
@@ -270,7 +270,7 @@
 
 "/MI { GS /py exch def /px exch def /sy exch def /sx exch def \n"
 "translate \n"
-"sx sy scale px py false \n"
+"sx sy scale px py true \n"
 "[ px 0 0 py neg 0 py ]\n"
 "currentfile /ASCIIHexDecode filter\n"
 "imagemask GR\n"

Modified: branches/branch-1.3/src/ps_image.cxx
===================================================================
--- branches/branch-1.3/src/ps_image.cxx        2010-09-03 16:35:32 UTC (rev 
7695)
+++ branches/branch-1.3/src/ps_image.cxx        2010-09-04 12:49:35 UTC (rev 
7696)
@@ -517,7 +517,7 @@
   for (j=0; j<HP; j++){
     for (i=0; i<xx; i++){
       if (!(i%80)) fprintf(output, "\n"); // not have lines longer than 255 
chars
-      fprintf(output, "%.2x",swap_byte(~(*di)));
+      fprintf(output, "%.2x", swap_byte(*di) );
       di++;
     }
     fprintf(output,"\n");

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

Reply via email to