DEV Community

Cover image for How to Self-Host Google Fonts on Your Own Server

How to Self-Host Google Fonts on Your Own Server

Kelli Blalock on February 19, 2019

Google recommends that you use the code that they supply for using Google Fonts on a website in their FAQ, but if you want full control of the font...
Collapse
 
hoodlumz profile image
David Elstob • Edited

Whenever I tried with WordPress, I never saved time self-hosting Google Fonts.

However, with my Vue-based website, I've just saved 0.6 seconds self-hosting 2 x Google fonts. Roboto 400, 700 and display=swap.

Well pleased. :)

Collapse
 
dan0sz profile image
Daan van den Bergh

Hi Kelli,

Thanks for sharing this with the world. :)

I actually built a WordPress plugin based on the Heroku helper app. If you want to check it out sometimes: wordpress.org/plugins/host-webfont...