Search code examples
htmlcssfonts

Get ALL Google Fonts as Woff


Due to some concerns with GDPR I want to host all the google fonts myself

For background, I am building a text editor in which the user can pick any google font. The chosen font is then loaded on the fly.

This is not a problem, I downloaded them all from the official Git repository. However, in the zip they only give you ttf files not woff. I have read for max compatibility/performance woff is the preferred choice.

I have found sites like this that let you get individual fonts as woff but I want them all.

  1. Does it really matter if I just use the ttf ? I can load them dynamically using font face api but is that OK cross browser?
  2. If answer to 1 is that I should use woff (or something else), then how can I get the entire Google Fonts library as woff

Solution

  • Unless you want to support IE, it's well supported across all other modern browsers.

    TTF/OTF - TrueType and OpenType font support