I have a problem with external font-face loading with headless Chrome 79 (same problem with Canary) on Windows (both 32 bits and 64 bits versions).
Here's an example with Google Fonts:
chrome.exe --headless --disable-gpu https://fonts.google.com
Using the DevTools inspector, I get this error:
There is no problem with non-headless mode.
I get this font face loading problem with each page which uses Google Fonts.
I wasn't able to reproduce this error on Bionic.
I'm totally stuck. Any help would be greatly appreciated.
Potential Cause. There is an error in the API URL, or a style that is not supported by the font has been requested.
A recent software update or have an app installation may have changed Chrome font. More likely, it is possible that the hardware installed on your computer may be malfunctioning and requires troubleshooting if you see that the Chrome fonts look bad.
I just stumbled over the same issue today.
Adding the following parameter solved that issue for me:
--virtual-time-budget=10000
It will tell Chrome to at wait (max. 10000ms) for all pending network request.
Source: https://stackoverflow.com/a/53690355/4045505
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With