Summary: | pattern fill not displayed with antialias, or in tiff | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Volker Kuhlmann <list0570> |
Component: | Graphics Library | Assignee: | Ralph Giles <ralph.giles> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.53 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Bug Depends on: | 688933 | ||
Bug Blocks: | |||
Attachments: | EPS test file which isn't handled correctly. |
Description
Volker Kuhlmann
2006-03-08 13:45:34 UTC
Created attachment 2085 [details]
EPS test file which isn't handled correctly.
Cross-hatch fill not shown with x11 device and antialias, or in tiff24nc.
Also see bug #688580 Verified as reported with 8.53. Also apparent with the display device. With SVN head abd the following command line: bin/gswin32c -dGraphicsAlphaBits=4 ../test_files/688588.ps -c quit I get the following: AFPL Ghostscript CVS PRE-RELEASE 8.54 (2005-10-20) Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. AFPL Ghostscript CVS PRE-RELEASE 8.54: Unrecoverable error, exit code 255 The error is coming from: c:\_\artifex\gs\src\gxpcmap.c(361): Returning error -100 Which says: return_error(gs_error_Fatal); /* can't happen * Guess the comment is wrong. We do not currently implement pattern tile accumulation devices with destination alpha. The heart of this work would be implement standard Porter-Duff "over" rules in the copy_alpha method. This may help with this bug, but it looks like the main thing is filling in some unhandled cases. By turning on the repeated-rendering path of bug #688826, as opposed to the pattern accumulator, we will likely get correct rendering even without implementing porter-duff alpha compositing in the pattern logic. This appears to have been fixed -- at least it doesn't fail and the output looks reasonable with the command line: gswin32c -dEPSFitPage -dGraphicsAlphaBits=4 -r100 bug_688588.ps |