Closed Bug 870041 Opened 11 years ago Closed 8 years ago

Gradient applied to rectangle is rendered incorrectly

Categories

(Firefox :: PDF Viewer, defect, P3)

21 Branch
x86_64
Windows 7
defect

Tracking

()

RESOLVED FIXED
Firefox 46

People

(Reporter: j.tosovsky, Unassigned)

References

Details

(Whiteboard: [pdfjs-c-rendering][pdfjs-d-shading-pattern][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/6684)

Attachments

(2 files)

Attached file Test case in PDF
In the attached file there are several instances of the rectangle with a gradient. They are placed vertically to cover all the page. But that gradient is rendered only for last two items at the very bottom. When fewer instances are specified, no gradient appears at all.
The PDF file is generated via Batik PDF transcoder from the SVG file. This file is included as well.
Compare the result in Adobe Reader or Chrome native PDF viewer.
Attached image Test case - SVG variant
Same issue with FF23 on Win 7.

[00:05:54.437] "PDF bae91c9f4cb21b25d7edbac79c9af1 [1.4 Apache FOP Version 1.1: Multi-page PDF Transcoder for Batik / -] (PDF.js: 0.8.47)"
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering][pdfjs-d-shading-pattern]
Whiteboard: [pdfjs-c-rendering][pdfjs-d-shading-pattern] → [pdfjs-c-rendering][pdfjs-d-shading-pattern][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/6684
Depends on: 1233801
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: