[XFA] Severe alignment issues
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
People
(Reporter: danibodea, Assigned: calixte)
References
Details
Attachments
(5 files, 2 obsolete files)
Note
- When the user loads a specific PDF, he will notice the sevede allignment issues
Affected versions
- Nightly v91.0a1
Affected platforms
- all
Steps to reproduce
- Launch browser.
- Flip the pdfjs.enableXfa to true.
- Load the attached PDF file.
Expected result
- The document is correctly displayed (as in Adobe Reader).
Actual result
- Severe alignment issues and overlapping are being observed.
Regression range
- This is not a regression.
Additional information:
Reporter | ||
Comment 1•3 years ago
|
||
Reporter | ||
Comment 2•3 years ago
|
||
Severe alignment issues can also be observed on the following PDF file.
Reporter | ||
Comment 3•3 years ago
|
||
Demo of PDF above.
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
The issues in the 2 pdfs are different here:
- for the first one it's an issue due to nested containers with
lr-tb
layout: some container which should be on the next line are wrongly placed at the end of the current line. - for the second, I would say it's very likely a text layout issue: something is likely wrong with line heights
Comment 5•3 years ago
|
||
Comment 6•3 years ago
|
||
(In reply to Calixte Denizet (:calixte) from comment #4)
The issues in the 2 pdfs are different here:
- for the first one it's an issue due to nested containers with
lr-tb
layout: some container which should be on the next line are wrongly placed at the end of the current line.- for the second, I would say it's very likely a text layout issue: something is likely wrong with line heights
Is your PR fixing the first? Can you open a separate bug for the second if they are separate issues?
Comment 7•3 years ago
|
||
Reporter | ||
Comment 8•3 years ago
|
||
Considering the information in comment 4, I have logged a separate issue for the second mentioned PDF: bug 1719844.
Furthermore, I will set the attachments reported in the other bug as obsolete in this one so there won't be any confusion.
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Comment 9•3 years ago
|
||
After the latest fix, the rendering of this PDF file has changed slightly.
This is the updated rendering in Nightly v91.0a1 from 2021-07-09.
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Reporter | ||
Comment 10•3 years ago
|
||
This issue is partially fixed as there are other alignment issues in the same PDF, but considering the fact that the reported demo area is in a decent enough form after the fix, I will close this bug as verified and open another for the remaining issue: bug 1720871.
Comment 11•3 years ago
|
||
Fixed in beta by the uplift in bug 1720361.
Reporter | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Description
•