Skip to content

Instantly share code, notes, and snippets.

@isuke01
Forked from cvan/google_fonts.md
Created April 11, 2025 10:22
Show Gist options
  • Save isuke01/be5f1c20608a6cbe1e5fd37bc32adeb3 to your computer and use it in GitHub Desktop.
Save isuke01/be5f1c20608a6cbe1e5fd37bc32adeb3 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