WAIT: Dreadful Flash of Unstyled Content on Fonts

So to update on this…

Using OMGF I offloaded the fonts and set to preload, then using Autoptimize I set display to block instead of swap.

Because the fonts are preloaded there’s no flash of invisible text like there would be otherwise.

The new issue is that I can’t disable the external google font calls despite the fonts coming from the local host now.

It would be great if we could have some font handling options within Bricks. Something like:

  • Disable Google Fonts (on/off)
  • Font display (auto/swap/fallback/block)
  • Serve Google Fonts locally (font family, type and weight selector to choose which fonts get copied into a directory like bricks/local-fonts and have the style sheet updated accordingly)

That would all be spectacular, but at the very least the option to turn off Google Fonts and let us manually do the rest with OMGF would be almost as good!