Open Bug 1718076 Opened 3 years ago Updated 3 years ago

Text is not aligned

Categories

(Firefox :: PDF Viewer, defect, P3)

Firefox 91
Desktop
All
defect

Tracking

()

Tracking Status
firefox90 --- disabled
firefox91 --- affected

People

(Reporter: rpopovici, Unassigned)

References

Details

(Whiteboard: [pdfjs-form-xfa])

Attachments

(17 files)

(deleted), application/pdf
Details
(deleted), image/png
Details
(deleted), image/png
Details
(deleted), application/pdf
Details
(deleted), image/png
Details
(deleted), image/png
Details
(deleted), image/png
Details
(deleted), application/pdf
Details
(deleted), application/pdf
Details
(deleted), image/png
Details
(deleted), application/pdf
Details
(deleted), image/png
Details
(deleted), application/pdf
Details
(deleted), image/png
Details
(deleted), image/png
Details
(deleted), application/pdf
Details
(deleted), image/png
Details

Tested with:
Nightly 91.0a1 (2021-06-23)

Tested on:
Win 10

Preconditions:
In about:config, set pdfjs.enableXfa = true

Steps:

  1. Launch Firefox
  2. Open the attached pdf.
  3. Go to SECTION 5

Actual result:
Text is not aligned and there is no space between checkbox and text.

Expected result:
Text should be aligned and there should exist a space between checkbox and text.

Attached image Nightly.png (deleted) —
Attached image AdobeR.png (deleted) —
No longer depends on: 1718041

This issue can be observed on page 3.
Also occurs on other platforms.

QA Whiteboard: [pdf_xfa_generic]
OS: Windows 10 → All

The same issue occurs on the second pdf attached on page 2 and 3. (please see screenshots)

Attached image Nightly91.png (deleted) —
Attached image AdobeR.png (deleted) —

Text is not aligned for the last 3 PDFs on the first page. (please see screenshot below)

Attached image Nightly.png (deleted) —
Attached image AdobbeR.png (deleted) —

Text overlaps radio button on page 13.

Attached image text not aligned.png (deleted) —

The issue is also found in this PDF, page 3, section c), numbered list item 3.

Attached image alignment issue canada 1.png (deleted) —
Attached image behavior change on alignment.png (deleted) —

I have to mention that the behavior presented for the original (first attached) PDF is now different. It appears as if the issued paragraph is correclty aligned to the right, but the alignment to the left is still wrong, which worsens the behavior because the text is spilled on a new line and it's improperly rendered.

A small issue is also seen here.

Whiteboard: [pdfjs-form-xfa]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: