Path: utzoo!attcan!uunet!cme!anderson From: anderson@cme.nist.gov (William E. Anderson) Newsgroups: comp.windows.x Subject: Problem with GXxor on sun server Message-ID: <4627@sunspot.cme.nist.gov> Date: 14 Jun 90 17:06:45 GMT Organization: National Institute of Standards and Technology Lines: 21 Please pardon my ignorance but I am trying to port a graphics package to X11. This software writes messages to the screen and then unwrites them using the GXxor logical operation. The server is a Sun 3/160 running X11R4 patched through fix-11. On a monochrome display with foreground and background set using WhitePixel() and BlackPixel() respectively, foreground xor writes result in no visible text using XDrawString(). If I do a `XSetForeground(display,gc,backgnd)`, things work. On a color display, xor writes are blank if the foreground is white (either with WhitePixel() or via the colormap). Other colors work fine. It appears that xor writes do not work with the foreground set to white. I assume I am missing something. -- NAME: William E. Anderson TELE: (301) 975-2423 USMAIL: NIST (formerly NBS) INTERNET: anderson@ceee.nist.gov Rm. B-344, Bldg. 220 UUCP: uunet!cme-durer!anderson Gaithersburg, MD 20899