Self-Hosted Google Fonts

Beschreibung

An easy way to self-host all your Google Fonts for increased Privacy or to meet a law requirement.
Theme and plugin authors are often unwilling to offer a self-hosted method and it’s quite laborious to download and upload each of the required font.

This plugin makes it all easy. It will scan all CSS on your site and automagically download and host on your server the necessary Google Web Fonts.

So funktioniert es:

  • Converts all Google Font enqueues to locally hosted CSS files.
  • Scans and converts any inline style tags using @imports for fonts.
  • Processes all the local CSS files that weren’t properly enqueued (bad authors?).
  • While doing so, downloads all the required Google Fonts to your server.

Funktionen:

  • Automatic self-hosted fonts with no effort.
  • Kompatible mit allen Themes und Plugins.
  • Unterstützt IE9+ und alle modernen Browser.
  • Optimized code benchmarked for performance.
  • Built-in cache for processing.
  • Kompatibel mit Cache-Plugins und Autoptimize.
  • API und Hooks für Theme- und Plugin-Autoren.
  • Uses unicode-range for optimized fonts when using multiple subsets. Google officially does this too, but other solutions for downloading fonts don’t support this.

Hinweise für Entwickler

Cache: Der häufigste Grund, wenn es nicht funktioniert. Wenn du ein Cache-Plugin benutzt, leere den Cache.

It will not work with JS solutions like WebFont Loader. If you’re a developer, you can still use this plugin’s API to get the needed CSS and files to convert your WebFont Loader. I will post instructions on support forums if there’s interest.

Installation

  1. Upload/Install and activate the plugin.
  2. Go to Settings > Self-Hosted Google Fonts, Enable Processing and Save.
  3. Clear all caches from any cache plugin you may have active.

FAQ

Installationsanleitung
  1. Upload/Install and activate the plugin.
  2. Go to Settings > Self-Hosted Google Fonts, Enable Processing and Save.
  3. Clear all caches from any cache plugin you may have active.

Rezensionen

Helpful for GDPR compliance

This plug-in removes requests to Google Fonts servers easily and therefore helps you to make your website more GDPR compliant. Works with Divi, Enfold and GeneratePress themes according to my experience.

works

Tested it with many premium themes. Works really good.
Just sometimes google maps or other JavaScript code loads google fonts and that can not be blocked.

Super helpful for GDPR compliance!

Very easy to use!! Just install it and activate it and it works. Makes the management of self-hosting google fonts much, much easier! Highly recommend!! Five stars!!

One note to new users: After I activated this plugin, I needed to refresh my browser cache and server cache, then log out of WP and log back in. On one site where I didn’t do this right away, the front end of the site hung for a moment. As soon as I cleared my caches and signed out/in, then the issue resolved right away. This is not a bug, you just need to know what to do!

Lies alle 9 Rezensionen

Mitwirkende & Entwickler

„Self-Hosted Google Fonts“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Änderungsprotokoll

1.0.1

  • Added an option to toggle protocol-relative URLs for generated CSS files.
  • Fixed: Checkbox options not saving.
  • Fixed: Italics not getting correct WOFF2 files.
  • Added normalization to support regular/bold as 400/700.

1.0.0

  • Erstveröffentlichung