nwjs / nw.js

Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
https://nwjs.io
MIT License
40.31k stars 3.88k forks source link

Font face loading delayed when using local #7489

Open cmann1 opened 4 years ago

cmann1 commented 4 years ago

NWJS Version : 0.46.0 Operating System : Windows 7

Expected behavior

Fonts should be loaded immediately.

Actual behavior

Fonts are only loaded after a 2-15 second delay. I recently upgraded, from around version 0.35 I think, where this was not a problem.

How to reproduce

Download, modify to remove all the local font names, then link to the edited version instead, and the font will now be loaded instantly.

rogerwang commented 4 years ago

Could you please provide a full sample (not code snippets) so we can reproduce?

cmann1 commented 4 years ago

package.nw.zip

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.