latin_character

Google Chrome for Mac – Broken Fonts

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).

Solution!

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:

Clear Fonts Automation Script

Here’s how it works.

  1. Close all programs.
  2. Unzip the script into your user folder on your Mac
  3. Open Terminal (Applications > Utilities > Terminal)
  4. Type the below command
  5. The font-registry will be cleared, then the ATSServer will shut down
  6. 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!

Comments

comments

Powered by Facebook Comments