New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 772624 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 284840
Owner: ----
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Text is missing on print (font not downloaded)

Reported by tomh...@gmail.com, Oct 7 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0

Example URL:
https://jsfiddle.net/5md16suh/

Steps to reproduce the problem:
1. Go to this page https://jsfiddle.net/5md16suh/
2. Refresh your browser cache if it's not your first visit
3. Click on the "print" link, or CTRL+P

What is the expected behavior?
In the print page / print preview, the text should be visible, including Greek text.

What went wrong?
The text is missing. Underlines of links are still visible anyway.
If you close the print preview and click try to print again, the text is now visible.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 62.0.3202.45  Channel: beta
OS Version: Ubuntu 17.04
Flash Version: 27.0.0.159

My analysis :
1. You load the page and Chromium downloads the custom font from Google Fonts
2. When you click on the "print" link, the hidden paragraph is shown (CSS print)
3. The browser detects it contains non-latin characters, then it decides to download the greek-range for the custom font ("unicode-range" property)
4. The download is not yet complete but the preview is already displayed: too soon! The download of the font is blocked.
5. Close the print preview window, the download of the font continues.
6. Try to print, the text is visible because the font is available now.

What is expected:
- Chromium should wait for font download complete before showing the print preview window. Nonetheless, a timeout should be implemented to avoid infinite wait.
 
chrome-wrong-print-output.pdf
6.2 KB Download
chrome-expected-print-output.pdf
17.2 KB Download
Labels: Needs-Triage-M62
Components: -Blink Internals>Printing Blink>Fonts Blink>Loader
Cc: sc00335...@techmahindra.com
Components: UI>Browser>PrintPreview
Labels: Triaged-ET M-63 OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on reported version 62.0.3202.45 beta , latest dev 63.0.3230.0 using Ubuntu 14.04,Mac 10.12.6 and Windows 10 with steps mentioned in Comment#0. i.e; Unable to see text. But underlines are seen.

As this issue is seen from M50[50.0.2166.0] considering this as Non-regression and marking this as Untriaged.
Mergedinto: 284840
Status: Duplicate (was: Untriaged)

Sign in to add a comment