Bug 690830 - visual artifects with test file
Summary: visual artifects with test file
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PXL Driver (show other bugs)
Version: master
Hardware: PC Linux
: P4 normal
Assignee: Hin-Tak Leung
URL:
Keywords: bountiable
Depends on:
Blocks:
 
Reported: 2009-10-19 04:49 UTC by Hin-Tak Leung
Modified: 2009-11-23 17:27 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
patch that make this renders correctly. (1.57 KB, patch)
2009-11-07 15:51 UTC, Hin-Tak Leung
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hin-Tak Leung 2009-10-19 04:49:14 UTC
(I am guessing it is a pxlcolor/pxlmono bug, rather than a ghostpdl bug - feel
free to change later).

attachment 4392 [details] (bug 690069), aftering addressing the rotation and the color
space issue, result in a pxl stream that's still showing some visual artifects
under ghostpdl.

Will attach the pxl stream. I have checked the problem is not a result of those
two bug fixes. (i.e. unpatched svn heads also shows those visual effects, plus
large PXL files).
Comment 1 Hin-Tak Leung 2009-10-19 04:58:33 UTC
Created attachment 5504 [details]
pxl stream from ps attachment 4392 [details]

PXL derived from attachement 4392 with pxlmono. View page two with ghostpdl and
compared with original. Texts probably have transparent background rendered,
opague I think, as a first guess. (either the pxl generator or the viewer is
buggy, don't know which yet). pxlcolor also shows similar problem.
Comment 2 Hin-Tak Leung 2009-10-19 04:59:47 UTC
Comment on attachment 5504 [details]
pxl stream from ps attachment 4392 [details]

derived from private data, marked also private.
Comment 3 Henry Stiles 2009-10-19 07:33:55 UTC
The HP Color Laserjet 4600 renders the pxl stream the same as ghostpdl, so this
is a pxlmono/pxlcolor device bug.
Comment 4 Hin-Tak Leung 2009-10-20 04:24:30 UTC
The issue is probably in the same code area as bug 688372 .
Comment 5 Hin-Tak Leung 2009-11-07 15:51:16 UTC
Created attachment 5642 [details]
patch that make this renders correctly.

This file is a curious case - it is black + mask. Setting the mask to white
and the logical operation to S & D should be the same as S + transparent white.

But somehow only S & D works, so there is what the patch does.
Comment 6 Hin-Tak Leung 2009-11-07 15:59:31 UTC
Setting S + transparent results in transparent text over white background,
instead of the intended black over transparent background. Just a curiosity,
Comment 7 Hin-Tak Leung 2009-11-23 17:27:09 UTC
The patch above was eventually integrated and included with other changes in the
same area of code as the black-on-mask code in part of r10305.