Skip to content

Instantly share code, notes, and snippets.

@cvan
Created March 12, 2016 00:12
Show Gist options
  • Save cvan/21aefbfd786a146c0d93 to your computer and use it in GitHub Desktop.
Save cvan/21aefbfd786a146c0d93 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