Bug 690662 - MuPDF renders linear gradient wrong
Summary: MuPDF renders linear gradient wrong
Status: NOTIFIED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: fitz (show other bugs)
Version: unspecified
Hardware: PC Linux
: P4 normal
Assignee: Tor Andersson
URL: http://bugs.freedesktop.org/show_bug....
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-28 15:34 UTC by James Cloos
Modified: 2010-05-07 08:23 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.