[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1846.0. "XSetDashes pattern gets run together" by CSC32::HADDOCK (The Seventh Son) Tue Dec 05 1989 12:49

    I have a customer who requires a XSetDashes set a dash pattern to
    1,1,1,1,1,1 (on-of per pixel).  The problem is that for lines drawn
    at an angle of about 40 to 50 degrees the pattern gets run together
    and has different patters such as 1,1,1,10,1,10,1 for example.
    The pattern changes depending on the angle.  I think I can rule
    out hardware since the customer says that he is converting this
    application from vws and it works fine with this same on-off pattern
    on vws.
    
    Can anyone shed any light on this?  I have code that will reproduce
    the problem if necessary.  I have also tested the code on VMS T5.3
    with the same results.
    
    fred();
T.RTitleUserPersonal
Name
DateLines
1846.1more informationCSC32::HADDOCKThe Seventh SonTue Dec 05 1989 15:124
    I've done some more testing.  The problem occurs if the line
    witdth (XSetLineAttributes) is set to 1.  Problem does not appear
    to occur if line width is 0.
    fred();
1846.2Ah yes, buggy wide line code...CRLMAX::jgJim Gettys, Cambridge Research LabTue Dec 05 1989 16:1411
The implementation of dashed wide lines in most people's X servers is 
quite buggy.

MIT X11R4 (not yet available from MIT) fixes these problems.

You should QAR the problem to make sure it gets fixed in a future DECwindows
release.  Make sure you do it for all of our platforms; I suspect the bug
is universal.

The new MIT R4 code is very much faster, as well...
			- Jim