Site logo

Archived topic

Remove Google fonts completely from source code due to court ruling in Germany

5 replies · Started by Michael on July 25, 2022

Viewing posts 1–6 of 6

In Germany, there is a court ruling that it is forbidden to transfer user data to the USA when using Google Fonts. Currently, webmasters are being warned about this and threatened with payments.
Either you have to save the fonts locally and integrate them, or you have to prevent the use of Google Fonts and remove the corresponding calls to "fonts.googleapis.com" and "fonts.gstatic.com" from the source code.
I tried to do this by using snippets to integrate the two php codes you provided into Wordpress.
Unfortunately, "fonts.googleapis.com" and "fonts.gstatic.com" appear in the source code when you look in Chrome in the private window in developer mode under "Sources".
e.g. src: url(https://fonts.gstatic.com/s/opensans/v29/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuk6F15M.woff2) format('woff2');

How can I prevent this? Please help!

Sorry, my English is not that good, that's why I use Deepl.
Translated with http://www.DeepL.com/Translator (free version)

Hi there,

can you share a link to the website where you're having the font issue ?

rhodan59.eu

The page is currently in maintenance mode, but if you look at the source code, you can see that Google Fonts is being called.

E.g. in this line
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open%20Sans:300,300italic,regular,italic,600,600italic,700,700italic,800,800italic:300"></head>

There are some other Websites I made with GeneratePress
i.G. Rhodan59.de oder rhyme-design.de

Yes, I just tried that, but without success at first.
After a long time of trying, I found the problem. It is the plugin Maintenance from Webfactory, which uses its own font definitions. I set a default font in the plugin and the problem was solved.

Only after replacing Google reCaptch with Honeypot all Google font entries disappeared.
I hope this satisfies German case law until the next ruling comes along. The protection of personal data is a serious issue in Europe.

Thank you for your tip.
Michael

Glad to hear you got this resolved.

This archived topic is closed to new replies.