Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!ames!uhccux!munnari.oz.au!otc!metro!extro!natmlab!ditsyda!megadata!art From: art@megadata.mega.oz (Art Poirier) Newsgroups: comp.windows.x Subject: Problem with XDrawImageString Keywords: help Message-ID: <170@megadata.mega.oz> Date: 18 Jul 89 05:45:07 GMT Organization: Megadata P/L, North Ryde, Sydney, Aust. Lines: 36 I'm hoping someone out there can help me. I'm trying to draw characters in a window using XDrawImageString16, expecting it to draw the background pixels as well as the foreground pixels, but I have been unsuccessful. The window's background is black, and foreground colors for characters vary. I have meticulously set the background pixel value to black in the GC, there is no tile or stiple being used, and just for ha-ha's, I set the function field of the GC to GCCopy (though I am equally unsuccessful using the default value). When I write a character to the window, the old character shows through, and that's not what I want at all. Now, what have I ignorantly forgotten to do, or am I expecting XDrawImageString16 to do something it was not intended to do? BTW, I'm using a Sun 3/60 with X11R3. No toolkits here, I'm grunting it out with just the X library. Thanks in advance, Art Poirier Megadata Pty Ltd (Could be worse... could be "Awesome-data") 2/37 Waterloo Rd. North Ryde Sydney NSW 2113 Australia Phone: (02) 805-0899 art@megadata.mega.oz.au ******************************************