Summary: | Incorrect clipping operation in vector output | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Osamu Mihara <osamu.mihara> |
Component: | General | Assignee: | Ken Sharp <ken.sharp> |
Status: | NOTIFIED FIXED | ||
Severity: | major | ||
Priority: | P4 | ||
Version: | 8.60 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: |
test case
Patch proposal for the bug output by a monochrome printer using opvp (before patch - incorrect output) output by a monochrome printer using opvp (after patch - correct output) |
Description
Osamu Mihara
2007-09-19 16:21:26 UTC
Created attachment 3397 [details]
test case
Created attachment 3398 [details]
Patch proposal for the bug
Created attachment 3399 [details]
output by a monochrome printer using opvp (before patch - incorrect output)
This is an output (before patch) by a monochrome printer using opvp. The PS
data draws tree circles in yellow, blue and red. Please do not care about
yellow circle, which is not printed because of the color is pale. The rest two
circles are not printed correctly because the clipping is not processed
correctly.
Created attachment 3400 [details]
output by a monochrome printer using opvp (after patch - correct output)
This is the correct output.
Ken please check whether the supplied path doesn't break pdfwrite. pdfwrite is unaffected by the change to gdev_vector_fill_path, since it does not call this method. pswrite (not ps2write) does use the method, but is not apparently affected by the change. Neither pdfwrite nor pswrite appear to use gdev_vector_stroke_path and hence are unaffected by the proposed change. In fact very few devices do use these methods, of the standard devices (that is not in /gs/contrib or similar) there is pswrite (which is pretty much deprecated ?) and gdevpx.c, the "H-P PCL XL" device. Perhaps Henry should have a look at this patch ? For what its worth, it seems to be OK from my point of view. Having run regression tests using pswrite, with no detected errors, patch committed: http://ghostscript.com/pipermail/gs-cvs/2008-March/008196.html Thanks to Osamu Mihara for the diagnosis and patch. |