Broken graphics rendering on a PDF file
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox96 | --- | verified |
People
(Reporter: gerard-majax, Unassigned)
References
Details
(Whiteboard: [pdfjs-d-smask])
Attachments
(3 files)
While browsing the interwebs, I came accross a PDF file that has broken rendering in nightly: https://dl.ubnt.com/datasheets/poe/PoE_Adapters_DS.pdf
I made sure I was on latest nightly but it still repros.
STR:
0. Download the file
- Open in Firefox
- Open in Evince
Expected:
On page 2, the graphics for ESD protections are layed out the same way
Actual:
On page 2 under Firefox, the graphics for ESD protections are over the left text.
Reporter | ||
Comment 1•4 years ago
|
||
Reporter | ||
Comment 2•4 years ago
|
||
This is running 20210407094544 on Ubuntu 20.10, under Wayland
Comment 3•4 years ago
|
||
I can confirm the issue with Firefox nightly.
But I cannot reproduce it using pdf.js/master with chrome stable.
As far as I remember the only piece of code which is chrome specific:
https://github.com/mozilla/pdf.js/blob/master/src/display/canvas.js#L54-L199
And it remembers me the comment I made here:
https://github.com/mozilla/pdf.js/issues/12798#issuecomment-753336779
Comment 4•4 years ago
|
||
Comment 6•3 years ago
|
||
Yeah, this is another case of the correct transformation being lost do the smask.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 7•3 years ago
|
||
I was able to reproduce the issue on Win10 using build 89.0a1 (20210407212527).
Verified as fixed on Win 10/Mac 10.13/Ubuntu 20.4 using build 96.0b3(20211209163454).
Description
•