neverpanic / google-font-download

Locally host Google's web fonts
https://neverpanic.de/blog/2014/03/19/downloading-google-web-fonts-for-local-hosting/
BSD 2-Clause "Simplified" License
706 stars 72 forks source link

Switch to Google Fonts API v2 #27

Open dpeukert opened 4 years ago

dpeukert commented 4 years ago

Docs are available here: https://developers.google.com/fonts/docs/css2

Changes:

Things to do:

I wrote these notes down mostly for myself to slowly work through, but if anyone else wants to help, that's even better!

AmirSavand commented 2 years ago

👍🏻

TechnologyClassroom commented 2 years ago

This patch worked for me. Thank you!

TechnologyClassroom commented 1 year ago

The formatting example needs to be updated. This worked for me:

./google-font-download --url="https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900"