wendy@sunquest.UUCP (Wendy Debray) (09/08/90)
question 1: stippled rectangle on a monochrome screen I'm having a problem getting a stipple to work on a monochrome screen. I've set up a GC with a BlackPixel foreground, a stipple pattern, and FillStyle set to FillStippled. This GC is then used to fill a rectangle. On a color display, the rectangle is filled in gray as expected, but on a monochrome screen the rectangle is filled in black as if the stipple didn't work. Is there something else I need to do? question 2: drawing text over a stippled rectangle Once a GC with a stipple is used to the fill the rectangle, I draw some text over it with XDrawString, with a GC set up with all the defaults. The text looks like someone bit off a few pixels here and there. If draw over the rectangle with XDrawImageString (so its draws with background color), the text is fine. Is the stipple causing this? How I can improve the appearance of the text? environment: Sun4, X11R3, R4 server, Motif 1.0.A Any help or suggestions are appreciated. Wendy Debray wendy@sunquest.com