Open Bug 1269455 Opened 8 years ago Updated 2 years ago

Gradient in PDF file not rendered correctly

Categories

(Firefox :: PDF Viewer, defect, P2)

44 Branch
defect

Tracking

()

ASSIGNED

People

(Reporter: thibolu, Assigned: calixte)

References

Details

(Whiteboard: [pdfjs-rendering][pdfjs-image-quality])

Attachments

(1 file)

380.10 KB, application/pdf
Details
Attached file 228729.pdf
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20160209234642

Steps to reproduce:

Steps to reproduce:
Open the attached PDF file with Firefox


Actual results:

Actual Result:
The gradient behind LANL on the top of the document is not rendered smoothly (horizontal blue and white lines are visible).


Expected results:

Expected Result:
This gradient should be rendered smoothly, as it is the case with Acrobat Reader.
It also does not work for some readers, but it works well in Microsoft Edge.
Status: UNCONFIRMED → NEW
Component: Untriaged → PDF Viewer
Ever confirmed: true
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering][pdfjs-d-image-quality]

still exist in
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0

Whiteboard: [pdfjs-c-rendering][pdfjs-d-image-quality] → [pdfjs-rendering][pdfjs-image-quality]
Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 5 duplicates.
:calixte, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(cdenizet)

In the attached pdf, the "gradient" is rendered thanks to some rectangles with different colors and because of rounding issues some thin white (because the background color is white) lines appear between each rectangle.
We already fixed a bug about thin lines between images:
https://github.com/mozilla/pdf.js/pull/14853
and we should do something similar for rectangles.

Anyway the bug is S3 because it doesn't hurt that much (from a readability point of view).

Flags: needinfo?(cdenizet)
See Also: → 1264608

Bug 1164550 contains a small test case.

Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Priority: P3 → P2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: