Bug 691866 - regression: subtle logic change in fz_paintlinear
Summary: regression: subtle logic change in fz_paintlinear
Status: RESOLVED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: fitz (show other bugs)
Version: unspecified
Hardware: PC Windows 7
: P4 normal
Assignee: Tor Andersson
URL: http://code.google.com/p/sumatrapdf/i...
Keywords:
Depends on: 691855
Blocks:
  Show dependency tree
 
Reported: 2011-01-05 12:46 UTC by zeniko
Modified: 2011-01-06 19:11 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
micron.pdf.bz2 (95.98 KB, application/octet-stream)
2011-01-05 15:22 UTC, Alex Cherepanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zeniko 2011-01-05 12:46:04 UTC
Page 2 of http://www.micron.com/document_download/?documentId=5423 renders wide gray bars since bug 691855 has been fixed.
Comment 1 Alex Cherepanov 2011-01-05 15:22:34 UTC
Created attachment 7087 [details]
micron.pdf.bz2

Local copy of the sample file. The file works fine on gs.
Comment 2 zeniko 2011-01-05 16:12:26 UTC
Turns out that this doesn't have anything to do with radial shades at all. Rather the logic in fz_paintlinear has been subtly changed, both by fz_paintquad not always passing the same three vertices to fz_painttriangle as fz_paintlinear originally did and by changing the additions in the shade->extend[1] case to subtractions.