Solid broken line with antialiasing

Hi.
I’m porting some 2D engine under OpenGL and want to use antialiased lines. But in joint points there is a “halo” and the broken line looks like its damaged. Turning of antialiasing kill this halo, but the line looks terrible.
Where does this side effect comes from? Did I wrong blending flags?
Thanks.
Daniel.

Did you follow these recommandations :
http://www.opengl.org/resources/tutorials/sig99/advanced99/notes/node120.html

Apparently, it can depend a lot from the hardware :
http://homepage.mac.com/arekkusu/bugs/invariance/HWAA.html

Thanks for the hint.
It seems that I need to disable depth buffer update. I’ll try it as soon as I get home from the job ;]
10x again.
Daniel.