Closed Bug 1681687 Opened 4 years ago Closed 3 years ago

renderInteractiveForms - Issue printing

Categories

(Firefox :: PDF Viewer, defect)

Firefox 83
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- fixed
firefox93 --- fixed
firefox94 --- fixed
firefox95 --- fixed

People

(Reporter: domsi-, Assigned: calixte)

References

Details

(Keywords: regression)

Attachments

(1 file)

493.61 KB, application/x-zip-compressed
Details
Attached file issue.zip

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0

Steps to reproduce:

With the last release of Firefox the support for PDF Form Filling was enabled by default (pdfjs.renderInteractiveForms = true). There are now rendering issues and printing issues with the text size / font size.

I have attached several screenshots, PDF and the original PDF-Document.

Steps:

  1. Default firefox settings: pdfjs.renderInteractiveForms = true

  2. Open attached "Original_Document.pdf" in Firefox 83.0 (Windows 10 Pro 20H2, 100% dpi scaling)

  3. Print the document or use "Microsoft Print to PDF"

  4. keep the window/tab

  5. Change => pdfjs.renderInteractiveForms = false

  6. Open again in new tab the "Original_Document.pdf"

  7. Compare rendering on screen with previous tab (renderInteractiveForms = true) -> font size is different

  8. Print the document or use "Microsoft Print to PDF"

  9. compare both printed versions => the first document (renderInteractiveForms = true) as a very large text / font size, compare to second print (expected result)

  10. Open "Original_Document.pdf" with Chrome / Acrobat Reader

  11. Print document for both documents => equal to second print ( pdfjs.renderInteractiveForms = false) == expected result

I have attached screenshots and printed results (Microsoft Print to PDF) for all versions.

Actual results:

Some textfields are rendered with a different size / printed with a very high size

actual result (pdfjs.renderInteractiveForms = true):

  1. Firefox_fillable.png
  2. Firefox_fillable_Printed.pdf

Expected results:

Expected (Firefox => pdfjs.renderInteractiveForms = false):

Firefox_fillable_disabled.png
Firefox_fillable_disabled_Printed.pdf
Acrobat_reader.png
Acrobat_reader_printed.pdf
Chrome.png
Chrome_printed.pdf

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Printing: Output
Product: Firefox → Core
Component: Printing: Output → PDF Viewer
Product: Core → Firefox
Assignee: nobody → cdenizet
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Calixte, is this fixed?

Flags: needinfo?(cdenizet)
Keywords: regression

Yes, it is.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(cdenizet)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: