diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_PostScript.cxx | 2 | ||||
| -rw-r--r-- | src/ps_image.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_PostScript.cxx b/src/Fl_PostScript.cxx index 7653f8504..cc088555d 100644 --- a/src/Fl_PostScript.cxx +++ b/src/Fl_PostScript.cxx @@ -270,7 +270,7 @@ static const char * prolog = "/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" diff --git a/src/ps_image.cxx b/src/ps_image.cxx index e60797764..1bad4375b 100644 --- a/src/ps_image.cxx +++ b/src/ps_image.cxx @@ -517,7 +517,7 @@ void Fl_PostScript_Graphics_Driver::draw(Fl_Bitmap * bitmap,int XP, int YP, int 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"); |
