[XFA] An image element is incorrectly rendered
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
People
(Reporter: danibodea, Assigned: calixte)
References
Details
Attachments
(13 files)
559.55 KB,
application/pdf
|
Details | |
249.20 KB,
image/png
|
Details | |
1.15 MB,
application/pdf
|
Details | |
251.16 KB,
image/png
|
Details | |
288.55 KB,
application/pdf
|
Details | |
257.54 KB,
image/png
|
Details | |
1.94 MB,
application/pdf
|
Details | |
340.51 KB,
image/png
|
Details | |
81 bytes,
text/x-github-pull-request
|
Details | |
44 bytes,
text/x-github-pull-request
|
Details | Review | |
81 bytes,
text/x-github-pull-request
|
Details | |
44 bytes,
text/x-github-pull-request
|
Details | Review | |
81 bytes,
text/x-github-pull-request
|
Details |
Note
- When the user loads a specific PDF file in Adobe Reader and Firefox, an image element is incorrectly displayed in the browser.
Affected versions
- Nightly v91.0a1
Affected platforms
- all
Preconditions
- Flip the "pdfjs.enableXfa" pref to true.
Steps to reproduce
- Launch browser.
- Load the attached PDF file.
- Go to the end of page 1, Section 10, b.
Expected result
- An arrow-like element is shown, pointing to the right.
Actual result
- An incorrect element is rendered, looks like a checkbox.
Regression range
- Not a regression, but an implementation fault.
Reporter | ||
Comment 1•3 years ago
|
||
PDF in question.
Reporter | ||
Comment 2•3 years ago
|
||
Demo.
Assignee | ||
Comment 3•3 years ago
|
||
The image here is in tiff format which is not supported in firefox.
So we should add a tiff decoder to pdf.js.
Reporter | ||
Comment 4•3 years ago
|
||
This PDF has an image that the browser won't display. Demo below.
Reporter | ||
Comment 5•3 years ago
|
||
Reporter | ||
Comment 6•3 years ago
|
||
Another logo image missing from the browser's rendering.
Reporter | ||
Comment 7•3 years ago
|
||
Demo for the PDF above.
Reporter | ||
Comment 8•3 years ago
|
||
Another one.
Reporter | ||
Comment 9•3 years ago
|
||
Assignee | ||
Comment 10•3 years ago
|
||
In PDFBOX-2045-0-GOOD.pdf, the image is a jpeg one but instead of being a base64 stream inside the xml itself, it's an embedded binary stream in the pdf.
The href of the image is a string accessible through Names dictionary.
Comment 11•3 years ago
|
||
Commit merged into master by GitHub Authored by calixteman (calixteman)
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
Commit merged into master by GitHub Authored by calixteman (calixteman)
Comment 14•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 15•3 years ago
|
||
Commit merged into master by GitHub Authored by calixteman (calixteman)
Comment 16•3 years ago
|
||
Could you verify the PDFs from this bug are fixed?
Except imm5257e.pdf, for which we should file a separate bug to add support for the TIFF format.
Reporter | ||
Comment 17•3 years ago
|
||
Test results:
- imm5257e.pdf - not fixed.
- PDFBOX-2045-0-GOOD.pdf - FIXED.
- pdf.js-LINK-1773-1-GOOD.pdf - FIXED.
- Antrag_Abschlussarbeit.pdf - FIXED.
Verified as fixed based on the last comment.
Logging a new issue for the one that is not fixed: bug 1719750.
Description
•