the last version. I seem to remember the antialiasing code was changed recently in gd.
On 10/26/05, Steve Lime <[EMAIL PROTECTED]> wrote: > What version of GD are you using? > > >>> thomas bonfort <[EMAIL PROTECTED]> 10/26/05 1:55 AM >>> > hi list, > I'm also having problems with mapserver or mapscript dying on certain > antialiased lines. I think I tracked the bug down to gd, I still have > to find the time to find out in what cases it happens. For those > interrested, for me gd segfaults for me in file gd.c on line 3055, > because it is called with out of bounds values for pixel position. the > call is being made on lines 3098 or 3119, with the argument > (y>>16)+1 (line 3098) > or > (x>>16)+1 (line 3119) > which seems to me to be out of image bounds. > > My fix is to set the clipping regions of lines 3069-3071 to 1 pixel > inside, which is a quick workaround which prevents the segfaults, but > produces poor quality for short line segments. > > cheers, > tb >
