Fix for PostScript for Sunview

steve beaty beaty at cinelli.UUCP
Thu Jan 26 18:11:21 AEST 1989


i hope this is timely enough, i've been trying to catch up on all my
reading.  Howard J. Postley (bambam!hjp at 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 at handel.colostate.edu



More information about the Comp.sys.sun mailing list