Disabling Arial in favour of Helvetica on Mac OS X (Safari)

3

1

I'd really like to stop reading Arial online, when I have the lovely Helvetica installed. Unfortunately, many sites specify their font familys as "Arial", "Helvetica", sans-serif, which means that I get Arial rather than Helvetica.

I had the idea to disable Arial and all it's cousins in Font Book, assuming this would work. Weirdly, this changes the font, but it still looks like Arial, albeit a different weight. These two images show the situation. (I've disabled Trebuchet MS to get this site to show the problem)

Interestingly, the Question title is in Helvetica, but not the Nav bar or the other sections.

Normal

alt text

Arial, Arial Black et al. disabled

alt text

As you can see, even with Arial disabled, it's still using a varient of it. Looking at the capital R in Rich is a quick test. This looks horrible on screen.

I've tried actually deleting the Arial fonts from /Library/Fonts, but this doesn't seem to make a difference.

Non Cocoa apps like Firefox don't have the same problem and respect the fact that Arial doesn't exist/is disabled.

How do I stop Arial appearing?

(EDIT, about a day later: Ah, seems that randomly it's started ignoring Arial when disabled. Didn't restart, it just decided to play nice...)

Rich Bradshaw

Posted 2009-09-23T17:22:35.387

Reputation: 6 324

Dude. If this is what you're worried about, you have too much time on your hands. – Beska – 2009-09-23T17:24:18.067

I know. I do sometimes wonder about my sanity... I'm more interested in how the fonts are handled - where is it getting Arial from? Why doesn't the font stack work as expected. – Rich Bradshaw – 2009-09-23T17:26:29.107

1I'm totally with you, Rick. Why use a cheap knockoff of Helvetica when you can have the real deal? – mipadi – 2009-09-23T17:47:32.387

1Exactly. Arial is pretty unreadable on screen, nothing is straight, it's all angled and horrible! – Rich Bradshaw – 2009-09-23T17:50:58.607

2I wonder why Arial is specified first anyway -- seems like Helvetica should be first, since just about everyone has Arial so Helvetica will almost always be masked. – mipadi – 2009-09-23T18:05:15.783

I agree - I think it's a hold out from Dreamweaver - it's default styling is the Arial, Helvetica, sans-serif string I mentioned. – Rich Bradshaw – 2009-09-23T18:10:32.590

Ah, seems that randomly it's started ignoring Arial when disabled. Didn't restart, it just decided to play nice... – Rich Bradshaw – 2009-09-24T19:58:35.433

See also http://thenextweb.com/2009/09/20/differences-arial-helvetica/ for the differences ;-)

– Arjan – 2009-09-26T16:16:22.157

Answers

4

In Activity Monitor, use Get Info on the browser you are using, and look at the open files:

enter image description here

That will show you where the font is being taken from. I suspect that the new technologies in Leopard/Snow Leopard to activate fonts on demand are what are causing Arial to come back, and without forcibly erasing all existance of it, I'm not sure what you can do. You could use an applescript to move arial out of the font library, then start your browser, and another applescript to close your browser then move arial back.

Do note however that Browsers like Opera and Firefox can apply custom user styles (per-site built-in to opera), so you can easily override arial on sites you choose. I often restyle sites to use fonts I choose - very powerful and useful for typography nerds like us.

Also if you want a brutal shotgun approach, use a bookmarklet (copy as an address and make a bookmark out of it, clicking it will test it on this page):

javascript:void(document.body.style.fontFamily='helvetica!important')

And back to Arial:

javascript:void(document.body.style.fontFamily='arial!important')

This bookmarklet is even more brutal, will change everything on a page to helvetica

javascript:for(i=0;i<document.getElementsByTagName('*').length;i++){document.getElementsByTagName('*')[i].style.fontFamily='georgia'};return;

And, as you may find something useful, the most comprehensive and useful guide on font management for OS X:

http://www.jklstudios.com/misc/osxfonts.html

The Tentacle

Posted 2009-09-23T17:22:35.387

Reputation: 4 621

Safari allows the use of user style sheets as well. You can find this in Safari Preferences > Advanced. You can't make per site style sheets, which is somewhat unfortunate. I currently use mine to keep my wife from signing me out of Facebook in Safari by hiding the sign out button. – Pinochle – 2009-09-25T08:34:45.937

1

If your using Firefox, you can go to Options->Content and click the Advanced button next to the font settings. From there, select Helvetica and the size you want, and de-select the checkbox saying "Allow pages to choose their own fonts instead of my selections above". From now on all pages will use Helvetica.

TJ L

Posted 2009-09-23T17:22:35.387

Reputation: 1 869

Interestingly I don't have the same problem in Fx - seems that it doesn't magically get Arial out of thin air to destroy the typeography... – Rich Bradshaw – 2009-09-23T17:53:34.840