Open Bug 1347464 Opened 7 years ago Updated 2 years ago

Some combination of fonts causes a baseline shift on printing

Categories

(Toolkit :: Printing, defect)

55 Branch
x86_64
macOS
defect

Tracking

()

Tracking Status
firefox52 --- wontfix
firefox53 --- affected
firefox54 --- affected
firefox55 --- affected

People

(Reporter: kwkbtr, Unassigned)

Details

Attachments

(2 files)

Attached file print-line-height.html
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170314030215

Steps to reproduce:

1. Open the attached HTML file.
2. Confirm that all of 30 lines are rendered inside a red rectangle without any overflow.
3. Print the page. (For example, on macOS open the print dialog and choose "Open PDF in Preview" from "PDF" dropdown menu to see print result on screen)


Actual results:

The lower half of the last line overflows the red rectangle and clipped by it.
It seems that some combination of fonts (in this case Libre Baskerville and Courier) causes a slight baseline shift on printing, resulting in pushing the last line over the bottom edge of the red rectangle.


Expected results:

All the 30 lines should be rendered inside the red rectangle without any overflow.
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:55.0) Gecko/20100101 Firefox/55.0

Hello and thanks for the report!
Following the STR from comment 0, I was able to reproduce the issue on all Firefox channels, using MAC OS X.
Has STR: --- → yes
Component: Untriaged → Printing
OS: Unspecified → Mac OS X
Product: Firefox → Toolkit
Hardware: Unspecified → x86_64
Too late for firefox 52, mass-wontfix.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: