Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!caen!sdd.hp.com!wuarchive!uunet!applix!scotte From: scotte@applix.com (Scott Evernden) Newsgroups: comp.windows.open-look Subject: Re: Trouble XDrawLine GC, bug maybe??? Message-ID: <1190@applix.com> Date: 1 May 91 04:04:38 GMT References: <347@intran.UUCP> Reply-To: scotte@applix.UUCP (Scott Evernden) Organization: APPLiX Inc., WestboroMA Lines: 30 In article <347@intran.UUCP> tom@intran.UUCP (Tom B.) writes: > >When I draw a line using XDrawLine on a sun, I can only get even line thicknesses. > I've been trying to port an X app. to OpenLook 2 for about a month, so I'm still new on this topic, but this is just one of several "strange" things that Sun's X appears to do. Actually even/odd pixel lines appear different on the diagonal, h or v lines are the same even or odd thickness. Also, the "density" of the lines is, to my eyes, wrong, as you go around bends, for certain thicknesses. Other probs: the line draw code likes to just insert arbitrary pixels and leave others out at corners and such- no way to predict what's going to happen. Text clipping against the left window edge (text starts outside the window) in GXor mode is broken. I can see artifacts of a utility pixmap which isn't cleared between draws. There are a coupla other flakeys which I can't remember right now. BTW, I do most of my work on a 486/33 and ATT SYSVr4, and both X Window servers I use (R3 and R4) clock in at about 2-3 times faster at off-screen renders (to 8 plane pixmaps - about 75% text) than a Sun IPC. Is there some reason why the Sun implementation is so slow? Is all this rendering done via Postscript or something? -scott