[PDF form] The bottom of the letters are cut off while inputing text inside some pdf forms
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
People
(Reporter: obotisan, Unassigned)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [pdfjs-form-acroform])
Attachments
(1 file)
1.40 KB,
image/png
|
Details |
Affected versions
- Firefox 90.0
- Firefox 91.0b6
- Firefox 92.0a1
Affected platforms
- Windows 7 x86
- Windows 10 x64
- macOS 10.15
- Ubuntu 18.04 x64
Preconditions
- pdfjs.renderInteractiveForms - true
Steps to reproduce
- Go to http://foersom.com/net/HowTo/data/OoPdfFormExample.pdf.
- Type "ggggg" in one of the fields.
- Click outside the field.
Expected result
- The letters are correctly displayed inside the field.
Actual result
- The bottom of the letters are cut .
Regression range
- This is a regression, I can't reproduce the issue on Nightly from 2020-07-20. I will try to find the range as soon as possible.
Additional notes
- This issue is more evident on Windows 7 than the other platforms.
- On Ubuntu the issue is reproducing only if the size of the page is changed.
- Issue is not reproducing while using High Contrast Themes.
Reporter | ||
Comment 1•3 years ago
|
||
I can also reproduce the issue on this site: https://www.irs.gov/pub/irs-pdf/f1040.pdf.
Comment 2•3 years ago
|
||
On macOS, at least, this originates with the pdf.js update in bug 1691143, and is related to the fact that it now sets font-size
on the text in the form field; prior to this, the text there was slightly smaller and did not suffer from the clipping.
Updated•3 years ago
|
Reporter | ||
Comment 3•3 years ago
|
||
I tried to find the regression range as well. I got the same result.
last good: 2021-02-05
first bad: 2021-02-05
potential regressor: Bug 1691143
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
works for me
seems to be fixed by
2022-09-17T22:56:40.326000: DEBUG : Found commit message:
Bug 1776538 - Update PDF.js to cd35b9bfac85c00238cf0fa0f657a780f2a5ead6 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D150311
Updated•2 years ago
|
Updated•2 years ago
|
Description
•