pico icon indicating copy to clipboard operation
pico copied to clipboard

Only download used font files

Open rsify opened this issue 5 years ago • 0 comments

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.

rsify avatar Apr 15 '20 00:04 rsify