Basic question about storing Google fonts on local hosting

The basic syntax for using a Google font is:
@import url(‘http://fonts.googleapis.com/css?family=Open+Sans’);

But can a Google font be downloaded into the local hosting package so that I don’t depend on the Google servers nor the delays in referencing an external site. It should be legal, since the fonts are released under the SIL Open Font License 1.1 (according to Wikipedia).

Is there any reason that I can’t download the font and change the syntax to:
@import url(‘http://fonts.mysite.com/css?family=Open+Sans’);

Any advise would be appreciated.

Thanks

I’ve not found anything that explicitly states whether you can or cannot download the fonts to do that. I tried skimming through their ToS also, but couldn’t spot anything there either. As to relying on the Google service, I’m not sure you’ll gain any benefits by hosting things yourself either in speed of access, or reliability (uptime).

You can download fonts on Google fonts…

Select a font you want to use
Click “Use” (bottom right)
On the Use page (where you select weights and grab code) there’s a download button top right just above the load meter

1 Like

I looked around a bit too. I could see different ways to call a font into a page but nothing explicit about downlloading.

Thanks I missed that. The “down arrow” glyph doesn’t have a tooltip clue about what it’s for, but sure 'nuff

GitHub page

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.