Prior art:
Can I disable my local font in chrome?
https://superuser.com/questions/292666/how-to-disable-permission-to-read-system-fonts-and-browser-plugin-details-in
Is there a way to disable system fonts temporarily in any browser?
The only solution I can find is to name the font something that doesn't collide with local fonts. I don't like that solution cause:
I'd rather refer to fonts by correct name.
It doesn't work with inline fonts via stylesheet like how Google serves fonts.
So, anyone know how?
It's much faster to host your Google Fonts now locally. This means storing and delivering your web fonts from your server or CDN, instead of relying on Google's CDN. There are multiple advantages to hosting your Google Fonts locally: It gets rid of the third-party DNS lookups and requests to Google.
To host Google Fonts locally, you need to upload all the font files you want to use to your server and also add the corresponding @font-face rules to your CSS. You can do all that manually, but there's a handy open-source tool called Google Web Fonts Helper that automates the process for you.
If you are on a Mac just open up the 'Font Book' app and disable the font.
From Chrome 86, you can now disable local fonts in DevTools.
This will ignore all local(...)
sources in CSS @font-face
rules.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With