Skip to content

Instantly share code, notes, and snippets.

@RLesur
Forked from cvan/google_fonts.md
Created June 30, 2018 21:38
Show Gist options
  • Save RLesur/21341440a883ef220c7f9d8f86a35c70 to your computer and use it in GitHub Desktop.
Save RLesur/21341440a883ef220c7f9d8f86a35c70 to your computer and use it in GitHub Desktop.
get ttf, woff, woff2 from Google Fonts

ttf

curl 'https://fonts.googleapis.com/css?family=Karla'

woff2

curl 'https://fonts.googleapis.com/css?family=Karla' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'User-Agent: AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116'

woff

curl 'https://fonts.googleapis.com/css?family=Karla' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'User-Agent: AppleWebKit/537.36 (KHTML, like Gecko) Chrome'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment