[comp.sys.sun] Fix for PostScript for Sunview

beaty@cinelli.UUCP (steve beaty) (01/26/89)

i hope this is timely enough, i've been trying to catch up on all my
reading.  Howard J. Postley (bambam!hjp@uunet.uu.net) asks in v7n73 about
the postscript interpreter from comp.sources.unix not properly displaying
within a sunview window.  we had the same problem here and fixed it with
the following patch:

------- pixwin.c -------
***************
*** 398,403 ****
--- 402,408 ----
  	case ROP_NOTDEST: 	op = PIX_NOT (PIX_SRC);	break;
  	case ROP_TRUE: 		op = PIX_SET;		break;
  	}
+     bm = Pixrect_addr (to);
      rop = rop_map [rop];
      UpdateControl (to, FALSE);
      for (i = top; i < height; i++)

hope this works for you.
	steve beaty@handel.colostate.edu