XFA PDF not opening properly
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: hschawla1009, Assigned: calixte)
References
Details
Attachments
(4 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0
Steps to reproduce:
Open XFA PDF (Attached to this ticket)
Actual results:
All pages work fine except page 6
Expected results:
Page 6 would have loaded fine.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Assignee | ||
Comment 2•3 years ago
|
||
There are few issues in this pdf:
- on page 4, the left margin is missing;
- for any reason, the contents of page 6, 7 and 8 are overlapped.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
The issue with overlapping pages is because of the breakBefore
element:
<breakBefore targetType="contentArea" target="flowed.flowedContent" startNew="1"/>
the startNew=1
is not fulfilled and consequently all the subforms are in the same contentArea.
The fix consist to ensure that create a new page when the target contentArea is the same as the current contentArea.
Assignee | ||
Updated•3 years ago
|
Comment 4•3 years ago
|
||
Comment 5•3 years ago
|
||
Commit merged into master by GitHub Authored by calixteman (calixteman)
Comment 6•2 years ago
|
||
There are still some problems on this PDF.
Comment 7•2 years ago
|
||
Assignee | ||
Comment 8•2 years ago
|
||
It's because of a missing Calibri font: I'll fix.
Fixed by:
Bug 1743838 - Update pdf.js to version 2.12.248 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D132586
2021-12-17T10:49:07.708000: DEBUG : Did not find a branch, checking all integration branches
2021-12-17T10:49:07.719000: INFO : The bisection is done.
pushlog_url: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=fddb757f9137bb916c1dbe89008928d9b6ac4343&tochange=b5036885cdb973bc037e562b1e35f90649efe430
(between 2021-12-02 and 2021-12-03)
Comment 10•2 years ago
|
||
Still problematic for me on Linux, probably because you have the font that I'm missing.
Comment 11•2 years ago
|
||
So, we might have different bugs here.
The bug on pages 6,7 and 8 (overlapping text) was fixed for me. The bug you mentioned in comment 7 was not reproducible for me.
Comment 12•2 years ago
|
||
(In reply to Kenan from comment #11)
So, we might have different bugs here.
The bug on pages 6,7 and 8 (overlapping text) was fixed for me. The bug you mentioned in comment 7 was not reproducible for me.
Yes, they are two separate bugs. I'll open a new one.
Updated•2 years ago
|
Description
•