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

Home Forums Support [Resolved] Remove Google fonts completely from source code due to court ruling in Germany

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2292731
    Michael

    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)

    #2292769
    David
    Staff
    Customer Support

    Hi there,

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

    #2292795
    Michael

    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&gt;

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

    #2292852
    David
    Staff
    Customer Support

    Did you follow the guide provided here:

    https://docs.generatepress.com/article/adding-local-fonts/

    #2293439
    Michael

    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

    #2293708
    David
    Staff
    Customer Support

    Glad to hear you got this resolved.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.