Skip to content

Instantly share code, notes, and snippets.

@hofmannsven
Forked from cvan/google_fonts.md
Created April 2, 2020 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hofmannsven/4c30bb991815f452f0b5b3612be1b168 to your computer and use it in GitHub Desktop.
Save hofmannsven/4c30bb991815f452f0b5b3612be1b168 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