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

Great but no support for extra latin

This plugin is great and makes the process as easy as 1, 2, 3, but the problem is that once I activated it the extra Latin characters like (ç ş ü ğ) used another font. Please update the plugin so it would retrieve the fonts with support for extra Latin characters. Many thanks

thanks!

Works very fine on WordPress 5.0.2 with a theme that includes it's own stylesheet to load Google Fonts. Best regards

Another step to minimize the Google footprint

Hi Asad, Thanks a million for this great plugin. Your plugin has changed all references to Google fonts on the Google servers to local URIs. This comprises template styles as well as plugins, which referred to the Google servers. Thanks again. Jörn.
Lies alle 18 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