Closed Bug 2094402 Opened 11 days ago Closed 10 days ago

Text at the bottom of a PDF gets clipped at certain zoom levels

Categories

(Firefox :: PDF Viewer, defect, P1)

defect

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr153 --- wontfix
firefox160 --- wontfix
firefox161 --- wontfix
firefox162 --- fixed

People

(Reporter: dholbert, Assigned: calixte)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files, 1 external file)

Attached file testcase 1 —

Attach (recommended) or Link to PDF file here: [attached]

Steps to reproduce the problem:

  1. Load attached PDF in Firefox Nightly
  2. Zoom out in increments of 10% (with Ctrl+mousewheel or by clicking the - button on the PDF header), so that the PDF.js header-bar shows "70%" as the scale factor
  3. Look at the text at the bottom of the page.

What is the expected behavior?
The text at the very bottom of the page should (barely) be on the page. e.g. the g in ``Trace the gray...` should have its descender barely touch the bottom of the page.

What went wrong?
The text gets clipped / rendered off-the-page. e.g. the g renders like a lowercase o or a with its descender fully clipped.

I'm using Nightly 162.0a1 (2026-11-15) (64-bit).

I've written my STR for desktop, but I initially ran into this on Android, where the PDF is zoomed out by-default. to fit on-screen (and reproduces this bug for me in the initial rendering)

Attachment #9685398 - Attachment description: screenshot of bad rendering → screenshot of bad rendering (when PDF is viewed at 70% zoom level in Firefox desktop)

This is a regression from back in 2024.

When it first regressed, here's how it looked - we had a different "bad" rendering than we currently do. (Note there's a strip of blank space between the clipped characters and the edge of the paper.)

Regression notes:

Keywords: regression
Regressed by: 1904120

Set release status flags based on info from the regressing bug 1904120

:calixte, since you are the author of the regressor, bug 1904120, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(cdenizet)

(via GitHub webhook, authenticated as shared-secret)

Assignee: nobody → cdenizet
Severity: -- → S3
Status: NEW → ASSIGNED
Flags: needinfo?(cdenizet)
Priority: -- → P1
Depends on: 2094901
Status: ASSIGNED → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
QA Whiteboard: [qa-triage-done-c163/b162][qa-ver-needed-c163/b162]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: