majodev / google-webfonts-helper

A Hassle-Free Way to Self-Host Google Fonts. Get eot, ttf, svg, woff and woff2 files + CSS snippets
https://gwfh.mranftl.com
MIT License
12.02k stars 420 forks source link

Add `font-display: swap` #123

Closed tomayac closed 1 year ago

tomayac commented 3 years ago

Fixes #69.

This PR adds font-display: swap;, with a pointer to read the MDN docs for other options.

tomayac commented 2 years ago

Any signal from the maintainer, @majodev?

jasperf commented 2 years ago

Any news on this issue? Realized the fonts we pull in do not have font-display:swap and would love to have this loaded in the generated CSS on the fly.

Buildbetter commented 2 years ago

Yes it important to use font-display: swap; - please add it to generator its a simple step.

hebbet commented 2 years ago

Yes it important to use font-display: swap; - please add it to generator its a simple step.

try that one: https://nextgenthemes.com/google-webfont-downloader/