Bug 198042 - line thickness is ignored when drawing antialiased lines
line thickness is ignored when drawing antialiased lines
Product: Fedora
Classification: Fedora
Component: gd (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ivana Varekova
Depends On:
  Show dependency treegraph
Reported: 2006-07-08 09:31 EDT by Joel Uckelman
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-11-16 08:54:25 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
test program (431 bytes, text/x-csrc)
2006-07-08 09:33 EDT, Joel Uckelman
no flags Details

  None (edit)
Description Joel Uckelman 2006-07-08 09:31:52 EDT
Description of problem:

If gdImageLine is called with the draw color as gdAntiAliased, the resulting
line is always a (perceptually) 1-pixel thick line, regardless of what value was
called with gdImageSetThickness.

Version-Release number of selected component (if applicable):


How reproducible:

Set thickness to n > 1. Draw a line with the antialased color.
Actual results:

A 1-pixel wide AA line is drawn.

Expected results:

An n-pixel wide AA line is drawn.
Comment 1 Joel Uckelman 2006-07-08 09:33:13 EDT
Created attachment 132107 [details]
test program

This short C program displays the problem:

gcc -o foo -lgd foo.c
./foo >line.png
Comment 2 Ivana Varekova 2006-11-16 08:54:25 EST
Fixed in gd-2.0.33-10.fc7.
Comment 3 Joel Uckelman 2006-11-16 08:57:24 EST
Great! Thanks very much!

Note You need to log in before you can comment on or make changes to this bug.