There’s a recent wave of cease & desist letters to German websites as the lawyers see them in violation of the German DSGVO (EU data privacy law, see What is the DSGVO? A compact summary -luckycloud blog) which is more commonly known as GDPR.
This will affect also website owners outside of Germany when users from the EU are visiting their website.
The core point of these letters claim that the fonts are transmitting the IP address of the European user to Google servers in the US (or anywhere outside of the EU).
In my case I load these in the following way:
On my landing page (filename styles.css
):
@import url("https://fonts.googleapis.com/css?family=Roboto:400,300,200,500,600,700&display=swap");
In my Electron app/after Meteor login (different Meteor project than the landing page) - filename electron-layout.html
:
<template name="electronLayout">
{{> Template.dynamic template=main}}
{{> infobox}}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,300,200,500,600,700" type="text/css" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
</template>
How can I load these fonts locally instead of requesting them from Google?
Sorry if this is a noob question but I’m a backend developer and the frontend (including this code) was developed by a former employee.
Thanks in advance!
PS: if you want to check if your website is affected, this URL has a scanner for it: Abmahnungen wegen Google Fonts. So handeln Sie richtig! (website is in German)