This has been a problem of mine for a long time. The fonts are appearing either in the wrong type (on a sans serif website, the fonts displaying serif) or not at all (with the latin ‘missing character’ in the above image).
It’s terribly annoying and is making clients and colleagues think I’ve coded the website wrong.
Let me make this clear, this is only for Google Chrome Mac, which suggests it’s a bug that Google have not dealt with. Fortunately, after some hardcore Googling, I had hit upon a solution (albeit a sometimes temporary one).
This post from SurgeWorks details a cool little technique for (using the terminal) clearing your Mac’s Font Cache. Which fixes the problem, but for some, not all, the fix is temporary.
Whilst pondering the temporary nature of this script, I decided it’s time to automate the process, to work on a single-hit script to combine the commands that Mauro Dalu had written on the post.
Here is my script:
Here’s how it works.
- Close all programs.
- Unzip the script into your user folder on your Mac
- Open Terminal (Applications > Utilities > Terminal)
- Type the below command
- The font-registry will be cleared, then the ATSServer will shut down
- Wait until the ATSServer is running again and then if you restart Chrome, you should find it works!
I hope somebody can find a use for it!
Powered by Facebook Comments