I’m not sure if I’m using this setting right.
I have Google Fonts disabled. I have Barlow loaded locally using the Bricks custom fonts system. I have Preload custom fonts setting checked. My CSS loading method is external files if that matters.
I also have LSCache, which does not have settings for preloading fonts, but it does have a setting for disabling Google Fonts, I have Google Fonts settings OFF since Bricks handlings disabling it. There is also font swap method which is set to “Default” rather than “Swap” which is the only other option.
Note LSCache does not have its own setting for font preloading so this is entirely handled by the Bricks setting I would think.
All that said, after clearing caches and so forth, I still get a FOUT where the font appears as Times New Roman (default system font) rather than any of my selected fonts in the whole stack.
If not Barlow, I have sans-serif, Roboto, Ubuntu as fallbacks from the Bricks theme. If not those, the base font stack is set to “-apple-system,‘system-ui’,Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol”. This is done from the Bricks base stylesheet. It’s all sans-serif.
And even with all those sans-serif font stacks, it still flashes Times, a serif font that I have set nowhere in CSS, it’s just a browser/system default. It would be one thing if it flashes another sans font but going from serif to sans is much more jarring.
Why is it flashing the system font and skipping every font in CSS, and also NOT preloading as the Bricks setting suggests? In the page source code there is no refernce to rel=“preload” at all.
Obviously this could still be the fault of my LSCache settings somehow, but I also want to make sure the font preloading setting in Bricks is actually working, because it’s not outputting any preload config into page source.