Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDave Lawlor
2,732 PointsUsing Google Fonts in a Website that is installed "locally".
Hi
Early days for me - I hope this isn't a dumb question, but.....
If I was running a website and hosting it internally what would happen to the elements on my site that are using Google fonts if I lost the external network? What would be displayed?
Thanks.
2 Answers
Yorick Toma
742 PointsSo in short the question is: What if the google font resource is not found ? It will just display text in the stock browser font. still you'd get an error. Alternatively you could cache or just download your resources. If it is a free font with a lets say WTFPL it'd be wise to download it and use fontface.
Dave Lawlor
2,732 PointsI re watched the video - I realize the explanation is there.
Dave Lawlor
2,732 PointsDave Lawlor
2,732 PointsThanks Yorick
That's great.
Yorick Toma
742 PointsYorick Toma
742 PointsYou're welcome, still keep in mind when you store a font on your server each user will download it causing extra load on your server. When publishing it online your user has an internet connection anyways so i would recommend loading Google their servers. They've got server capacity enough.