Downloads all google web fonts (
woff,woff2,ttf, etc.) from the provided font link of Google Fonts to a local folder.
- Adapt line 23-25 of the file
/src/io/schrepfer/googlefontdownload/DownloadFonts.javato configure the web font link, the output directory and the user agent. There are already default values available. Different font files are provided depending on your user agent. - Run the script and all font files and the CSS source file is stored locally.
- Copy the files to your web directory or to your source directory of your front-end build process.