Feature request: add font preload and local hosting options to the Font Manager

Hey, these two features would make the Font Manager even better and improve performance.

Preload font option
Allow to enable preload for fonts added through the Font Manager (<link rel="preload" as="style">), in order to avoid render-blocking stylesheets.

Local font hosting option
Allow to automatically download fonts (from Bunny Fonts or Google Fonts) and serve them locally from the site, bypassing third-party CDNs. Ideally, this would include:

  • Automatic generation of @font-face CSS
  • Font subsetting
  • Option to serve WOFF2 only for modern browsers
1 Like

I think we can add a preload option pretty easily.

Hosting fonts locally and doing all that downloading sounds like a bit of a time investment. Have you ever tried a plugin like this https://wordpress.org/plugins/local-google-fonts/?