From: [EMAIL PROTECTED] Operating system: Linux 2.2 SMP PHP version: 4.0.6 PHP Bug Type: GD related Bug description: imageDashedLine() only seems to draw vertical lines Using PHP 4.0.6, GD 2.0.1, Apache 1.3.19, and a TrueColor image, this code: $img = imageCreateTrueColor (64, 64); $wht = imageColorAllocate ($img, 255, 255, 255); imageFill ($img, 0, 0, $wht); $red = imageColorAllocate ($img, 255, 0, 0); $x1 = 16; $y1 = 16; $x2 = 48; $y2 = 48; imageDashedLine ($img, $x1, $y1, $x1, $y2, $red); imageDashedLine ($img, $x1, $y1, $x2, $y2, $red); imageDashedLine ($img, $x1, $y1, $x2, $y1, $red); imageDashedLine ($img, $x2, $y2, $x1, $y2, $red); imageDashedLine ($img, $x1, $y2, $x2, $y1, $red); imageDashedLine ($img, $x2, $y1, $x2, $y2, $red); header ("Content-type: image/png"); imagePNG ($img); Should produce a red square with diagonal lines. Instead it produces only the vertical lines, in a PNG found at http://www.kyhm.com/gd/dashedline.png Configure line: ./configure --with-apxs=/usr/local/sbin/apxs --with-config-file-path=/etc/httpd --enable-openssl=/usr/local --with-gd=/usr/local --with-jpeg-dir=/usr --with-tiff-dir=/usr --with-zlib=/usr --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-freetype-dir=/usr/local --with-t1lib=/usr/local --with-mysql=/usr/local --with-pdflib --with-pgsql --enable-readline=/usr --enable-trans-sid --enable-sockets --enable-memory-limit --enable-shared --with-mcrypt=/usr/local --enable-ctype --enable-bcmath --enable-ftp --enable-shmop -- Edit Bug report at: http://bugs.php.net/?id=11917&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]