Open Bug 1598957 Opened 6 years ago Updated 3 years ago

Using font-face in page crops text while printing if firefox is in private mode (won't remember history)

Categories

(Core :: Printing: Output, defect, P3)

70 Branch
defect

Tracking

()

People

(Reporter: u651715, Unassigned)

References

Details

Attachments

(3 files)

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

Steps to reproduce:

I use last stable Firefox version 70.0.1 x64 on Windows 10 Pro x64 Build 1909.

I wrote one simple html page with inner <style> tag which loads external TTF font, using font-face.
Then, if I try to print this page (real printer or virtual pdf (pdf24 for example), doesn't matter), page preview shows normal view, but when I send page preview to print job, result on page or in pdf file becomes unexpected.

Actual results:

The result depends on Firefox history settings. Go to Tab "Privacy & Security", watch "History" title and select mode in combobox.
If you select "Remember history", everything is good.
If you select "Never remember history", print result is broken.

"Broken" means that part of text is cropped. Look at my pdf example in attached archive. Phrase "Настройка устройства: Lenovo Tab 3 TB-8703F" crops to "Настройка устройства: Lenovo Tab 3 TB-" and a left part of digit "8".

Also you can use my minimum example of HTML page to repeat this problem.

Expected results:

Text should be printed correctly at any setting of privacy (remember or not history).

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

Confirmed in Firefox 71 (beta) on mac. Only show Настройка устройства: Lenovo Tab 3 TB-8 in the generated pdf file in private window.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Attached image expected result
Attached image actual result
See Also: → 1525587
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: