Why would a font be a privacy problem?
A font linked from Google Fonts is fetched from Google when a browser needs it. To send the file, Google's server has to see the visitor's IP address, and European privacy law can treat an IP address as personal data.
What did the court say?
In January 2022 the Regional Court of Munich (case 3 O 17493/20) ruled against a website operator for passing a visitor's IP address to Google this way without consent, and awarded the visitor 100 euros. Part of the reasoning was that there was no need to do it, because the same fonts can be used without connecting visitors to Google.
It was one German court at first instance, not a rule for every country, and I am not a lawyer. If your visitors are in the EU or the UK and you are unsure where you stand, ask someone qualified. The technical fix is small either way.
How do I check my own website?
- View the page source. Right click your homepage, choose View page source and search for fonts.googleapis.com and fonts.gstatic.com.
- Check the network tab. A font can also be pulled in by a stylesheet, a theme or a plugin. Open your browser's developer tools, reload the page and look for either address.
- Check more than the homepage. Booking pages and landing pages are often built separately.
What is the fix?
Self hosting. Download the font files, put them in your own site's folder, point your stylesheet at them and remove the Google links. The site looks the same. It is how I build: the fonts come from the site itself.
Fonts are only one connection. Maps, videos and tracking scripts also contact other companies, so it is worth listing what your pages load. While you are checking, see whether your website address is really yours and run through the website launch checklist. This is part of how I build and look after small business websites.