[pkg-GD-devel] Bug#588384: libgd2-xpm: gdImageRectangle sides drawn with y1==y2
Kevin Ryde
user42 at zip.com.au
Wed Jul 7 21:33:20 UTC 2010
Package: libgd2-xpm
Version: 2.0.36~rc1~dfsg-3.2
Severity: normal
A gdImageRectangle drawn with y1==y2 ends up with end pieces drawn at
the sides. The program foo.c shows
. .
...........
. .
where I expected just a horizontal line. Output to /tmp/x.png, look at
it directly or trust the imagemagick convert to /tmp/x.xpm.
I think the sides should not be drawn when y1==y2, per diff below.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.c
Type: text/x-csrc
Size: 522 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gd-devel/attachments/20100708/c6d4b765/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gd.c.rect-sides.diff
Type: text/x-diff
Size: 531 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gd-devel/attachments/20100708/c6d4b765/attachment.diff>
-------------- next part --------------
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages libgd2-xpm depends on:
ii libc6 2.11.1-3 Embedded GNU C Library: Shared lib
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib
ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.44-1 PNG library - runtime
ii libx11-6 2:1.3.3-3 X11 client-side library
ii libxpm4 1:3.5.8-1 X11 pixmap library
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
libgd2-xpm recommends no packages.
Versions of packages libgd2-xpm suggests:
ii libgd-tools 2.0.36~rc1~dfsg-3.2 GD command line tools and example
-- no debconf information
More information about the pkg-GD-devel
mailing list