Only download used font files
rsify opened this issue · 0 comments
rsify commented
Taking a screenshot on usegripeless.com needs around 7MB of resources to be downloaded on the first run (latter runs use browser cache) - most of which being imported fonts which the library currently blindly inlines even though 95% of the imported files aren't actually being used.
A potential solution is to use Document.fonts
in newer browsers, haven't researched it extra deeply though.