Description of problem: Using the function gdImageFilledPolygon() with a tile creates a black field. See the attached program for details. Version-Release number of selected component (if applicable): gd-2.0.28-4.4E.1 (Also seen for gd-2.0.33-6.2 on FC5. Does not happen with gd-1.8.4-12.3.1 on RHEL3. Happens for both i386 and x86_64.) How reproducible: Every time. Steps to Reproduce: 1. cc d.c -o d -lgd # d.c is the attached test program 2. ./d 3. display bull.png Actual results: A black triangle in a white field. Expected results: A blue triengle with red lines in a white field. Additional info: FWIW: gd 2.0.33 we have built locally on Solaris works correctly.
Created attachment 130727 [details] Test program d.c
Succesfully reproduced.
This problem should be fixed in the test version - gd-2.0.28-5.4E.test (http://people.redhat.com/varekova/gd-2.0.28-5.4E.test.i386.rpm, http://people.redhat.com/varekova/gd-devel-2.0.28-5.4E.test.i386.rpm, http://people.redhat.com/varekova/gd-2.0.28-5.4E.test.src.rpm). Could you please test this version? If there is any problem please attach your comment here.
The new version works fine for us too.
Created attachment 133382 [details] proposed patch
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0645.html