Bug 690662

Summary: MuPDF renders linear gradient wrong
Product: MuPDF Reporter: James Cloos <cloos>
Component: fitzAssignee: Tor Andersson <tor.andersson>
Status: NOTIFIED FIXED    
Severity: normal    
Priority: P4    
Version: unspecified   
Hardware: PC   
OS: Linux   
URL: http://bugs.freedesktop.org/show_bug.cgi?id=22985
Customer: Word Size: ---

Description James Cloos 2009-07-28 15:34:48 UTC
The bug report in the URL field is against poppler, but mupdf also gets it wrong
(albeit in a different way.)

GS (8.64) renders the gradient the same as acro does, something akin to:

FFFF
EEEE
DDDD
CCCC
.etc.
1111
0000

whereas mupdf makes it look more like:

FEDC
EDCB
DCBA
CBA9
.etc.
Comment 1 Tor Andersson 2009-07-29 07:51:30 UTC
It's an image not a linear gradient. I suspect it's the same bug as 690666 where our interpolation on the 
edges of images is wrong.
Comment 2 James Cloos 2009-07-29 09:21:05 UTC
> It’s an image not a linear gradient.

Ah.  As you can guess I didn’t confirm the OR’s diagnosis, just compared
everyone’s output and parroted the bug report here, too, when I saw that mupdf
also got it wrong....
Comment 3 Tor Andersson 2009-07-30 08:50:05 UTC
Added two patches to the darcs repository that should fix all image interpolation and image pixel offset 
bugs similar to this one.
Comment 4 James Cloos 2010-05-07 08:23:44 UTC
Closing resolved bugs which I reported.