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

font-display: swap #142

Closed revilodesign closed 1 year ago

revilodesign commented 2 years ago

Hey,

I love your site and use it often for my projects <3

I have 2-3 wishes

  1. font-display: swap;

Can you add this by default? Google pagespeed always grumbles when it's missing

  1. font-family: 'XYZ', sans-serif;

Can you still add the parameter? With some fonts you have to go to Google Webfonts. This step would be superfluous

  1. customize folder prefix

Is it possible that you work with cookies and show the custom folder path that was entered last :)

As I said - I love your tool. I just noticed this while working with it. That would certainly save me and everyone else 3 steps.

Cheers

Zodiac1978 commented 1 year ago

font-display: swap; is already reported in #135

majodev commented 1 year ago

Fixed in v1.1.0.