From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020606 Description of problem: If a PS file makes use of a shfill operator with shadingtype 3 (Gourad shaded triangles) ps2pdf generates an incomplete (and probably buggy) PDF file. Version-Release number of selected component (if applicable): 6.51-16.2 How reproducible: Always Steps to Reproduce: 1. Take a PS file that uses the shfill operator with shadingtype 3 (Gourad shaded triangles) 2. Convert to PDF using ps2pdf or ps2pdf13 (results are equal) 3. Open the resulting PDF file in acrobat reader, or ggv (uses ghostscript). Actual Results: The PDF contains just a few of the triangles in the original PS file. Expected Results: All of the triangles in the original file are present in the PDF file. Additional info: I will attach a PS file where this happens next.
Created attachment 75265 [details] Example PS file from Adobe that shows problem. From http://partners.adobe.com/asn/developer/technotes/samples/SMOOTHSH.ZIP
Also fails with ghostscript-7.05-20. Thanks for the report.
Reported upstream.
I confirm that there is a problem in GS 7.05 but it appears to be fixed in the current development version. AFPL GS 7.31
Shading type 3 are radial, not Gouraud triangle meshes which are ShadingType 4. The file DECAHED.PS does in fact use ShadingType 4. I was able to reproduce the problem with DECAHED.PS using gs7.05 (as was Alex Cherepanov -- thanks Alex). This is fixed in the 7.22 AFPL release, which was our last stable release prior to the massive updates for DeviceN support beginning in 7.30 (toward our upcoming 8.0 release). I recommend that this user install the 7.22 AFPL release which is available from SourceForge via the projects page: https://sourceforge.net/projects/ghostscript/ or directly from: https://sourceforge.net/project/showfiles.php?group_id=1897&release_id=72993 If the user (or anyone else) wants to track down the specific patch, I suggest that they refer to History7.htm that is in the 7.22 release.
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Red Hat apologizes that these issues have not been resolved yet. We do want to make sure that no important bugs slip through the cracks. Please check if this issue is still present in a current Fedora Core release. If so, please change the product and version to match, and check the box indicating that the requested information has been provided. Note that any bug still open against Red Hat Linux on will be closed as 'CANTFIX' on September 30, 2006. Thanks again for your help.
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Closing as CANTFIX.