Open Bug 1731493 Opened 3 years ago Updated 7 months ago

Rendering issue with PDF viewer

Categories

(Firefox :: PDF Viewer, defect)

defect

Tracking

()

Tracking Status
firefox92 --- wontfix
firefox93 --- wontfix
firefox94 --- wontfix

People

(Reporter: bruno.n.pagani, Unassigned)

References

Details

(Whiteboard: [pdfjs-smask])

Attachments

(1 file)

Attached file Test PDF file

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

Try rendering the attached PDF.

Actual results:

Only a blue arrow with fading is shown, not the green part.

Expected results:

It should look like https://i.stack.imgur.com/yIO8z.png

Component: Untriaged → PDF Viewer
OS: Unspecified → All
Hardware: Unspecified → All

Hi Bruno,
thank you for taking the time to submit this bug report.
I was able to reproduce on Windows 10, on Firefox Nightly 94.0a1 (2021-09-20) (64-bit) version and Release 92.0 (64-bit) version, as described in actual results. Based on this I will mark each respective flag as affected and set the severity.

I let the component in order to get the dev team involved, but if it's not relevant,
'Firefox-PDF Viewer' team, please feel free to change the component if this is not the appropriate one.

Regards,
Jerónimo.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true

Change the status for beta to have the same as nightly and release.
For more information, please visit auto_nag documentation.

Depends on: 1739229
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch

This is not entirely fixed, if you look at the attached PDF and expected rendering, you will see that pdfjs still draw a part of the arrow wrongly (upper right corner).

More over, on a more complex scheme using the same kind of underlying code in LaTeX, the output is even more wrong: see test file and expected rendering at https://gitlab.freedesktop.org/poppler/poppler/-/issues/1142.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → NEW
No longer depends on: 1739229
Target Milestone: 96 Branch → ---

Marking as dependent on bug 1739229 because it was a partial fix.

Depends on: 1739229
Whiteboard: [pdfjs-smask]

For the record, the more complex test file mentioned in my previous comment is now OK, but the original file posted here or the minimal case available at https://gitlab.freedesktop.org/poppler/poppler/uploads/c5afaf894748fb31f1af495e5f1747b7/test-minimal.pdf are still not.

In fact the issue still partly remain even for my original file (there has been enhancements as the rendering is not cairo-like anymore), I was fooled by the fact that I’m now post-processing my PDF files using ghostscript like this:

gs -o output.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress input.pdf

Interestingly, on the three files that exhibit rendering issues, those vanishes after post-processing with ghostscript.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: