I observe an extremely annoying font problem in Google Chrome for Mac. When I visit a page like GitHub or Bitbucket (which use monospaced fonts, e.g. for code) I see the HTML sections that are meant to be displayed in a monospaced font displayed in “Times New Roman”. This pretty much makes these sites useless for me.

I found a blog post that describes a similar problem and which suggests to clear Mac OS X’s font caches with these terminal commands:

$ sudo atsutil databases -remove
$ atsutil server -shutdown
$ atsutil server -ping

This eliminates the problem but it only lasts until I restart the computer. I would have to issue these commands every time before I start Google Chrome after a computer restart to have monospaced fonts on these sites display correctly.

For clarification here are two screenshots that display the problem.

This is how it looks before I remove the font caches: Example Image before clearing the font caches

This is how it looks after the font caches have been cleared and how it should look: Example Image after cleaning the font caches

Does anyone know of this problem and can provide a solution? Thanks a lot.

link|improve this question
1  
I would check to see if you possibly have a corrupt version of Courier (the default fixed-width font for Chrome). You could try deleting it and installing a fresh copy to see how far that gets you. – Samuel Mikel Bowles Sep 20 '11 at 20:41
Chrome seems to have some issues with fonts managed by dedicated font managers. Are you using font management software (Suitcase, Fontcase, FontExplorer)? – kopischke Oct 24 '11 at 12:55
feedback

3 Answers

Try re-downloading the font you need into the Font Book. Then it should work. If the problem persists, try going through the settings in your browser.

link|improve this answer
feedback

I have been using Linotypes Font Explorer for quite some time now. There is a free version which is great. I have found less font issues on my Macs since using this app than with Suitcase, Fontbook or Fontcase, particularly with web sites. Once installed you can run a font cleaner which examines all your volumes on your Mac and eliminate sang potential problems

link|improve this answer
feedback

Just wanted to chime in here and say that not only did this exact issue hit me (Github showing with Times New Roman), but long after I fixed it the first time around (several months ago) I had an interesting regression. Tonight I pulled up Github to find this:

enter image description here

I assume that this is due to Bitstream somehow getting clobbered in the font cache (as opposed to it not being installed the first time this happened). Luckily the CLI commands to reset the cache posted by the OP still worked great for me (after also restarting Chrome).

Doesn't answer the question about why this happens, but hopefully this answer might provide a little more info if anyone else hits this same bizarre issue.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.