Hi, The lines drawn with PS_DASH, PS_DOT, PS_DASHDOT, etc. looked wrong in Wine: the dots and dashes were basically way too short and their proportions were wrong. So I fixed their definitions in graphics/x11drv/pen.c. Here's a patch that fixes them so that they look the same as on Win 9x, let me know if it breaks Win 3.1 applications before I submit it to wine-patches. -- Francois Gouget [EMAIL PROTECTED] http://fgouget.free.fr/ The nice thing about meditation is that it makes doing nothing quite respectable -- Paul Dean
Index: graphics/x11drv/pen.c =================================================================== RCS file: /home/wine/wine/graphics/x11drv/pen.c,v retrieving revision 1.7 diff -u -r1.7 pen.c --- graphics/x11drv/pen.c 2000/04/25 19:55:35 1.7 +++ graphics/x11drv/pen.c 2000/10/29 21:13:12 @@ -11,10 +11,10 @@ #include "x11drv.h" #include "debugtools.h" -static const char PEN_dash[] = { 5,3 }; /* ----- ----- ----- */ -static const char PEN_dot[] = { 1,1 }; /* -- -- -- -- -- -- */ -static const char PEN_dashdot[] = { 4,3,2,3 }; /* ---- -- ---- -- */ -static const char PEN_dashdotdot[] = { 4,2,2,2,2,2 }; /* ---- -- -- ---- */ +static const char PEN_dash[] = { 16,8 }; /* ----- ----- ----- */ +static const char PEN_dot[] = { 4,4 }; /* -- -- -- -- -- -- */ +static const char PEN_dashdot[] = { 12,8,4,8 }; /* ---- -- ---- -- */ +static const char PEN_dashdotdot[] = { 12,4,4,4,4,4 }; /* ---- -- -- ---- */ static const char PEN_alternate[] = { 1,1 }; /* FIXME */ /***********************************************************************