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)
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).
Comment 1•6 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•6 years ago
•
|
||
Confirmed in Firefox 71 (beta) on mac. Only show Настройка устройства: Lenovo Tab 3 TB-8
in the generated pdf file in private window.
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Updated•3 years ago
|
Description
•