[Webkit-unassigned] [Bug 197003] New: Setting font-weight for @media print prevents font from rendering in print if the according font file has not been loaded before.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 17 04:37:00 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=197003
Bug ID: 197003
Summary: Setting font-weight for @media print prevents font
from rendering in print if the according font file has
not been loaded before.
Product: WebKit
Version: Safari 12
Hardware: Macintosh
OS: macOS 10.14
Status: NEW
Severity: Trivial
Priority: P2
Component: Printing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: andzwettler at gmail.com
.component {
font-weight: bold;
}
@media only print {
.component {
font-weight: normal;
}
}
If the font loaded is a network resource, the text of .component will not be rendered when opening the print dialog for the first time. Closing the dialog and re-opening it then shows the text.
My Assumption is, that the normal variant of the font is issued to load when opening the print dialog, but it does not wait until the font is loaded to render the file. When the dialog is opened the second time, the font file has loaded and the full text is rendered.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190417/652d9075/attachment.html>
More information about the webkit-unassigned
mailing list