17

Our intranet web pages need to clearly disambiguate between the letter O and the number ZERO. Is there a screen+printer font that is installed on WindowsXP and Vista that does this either putting a dot inside zero or a slash through it?

If there isn't such a font on the machines themselves, is there a way to embed the font in the page, or some other way for the web page to substitute a glyph for the zero glyph in one of the standard fonts, like Arial?

Thanks

Tim
  • 8,669
  • 31
  • 105
  • 183

7 Answers7

26

Consolas, which comes with Vista and Windows 7 IIRC, has a slashed zero. It should also come bundled with later versions of MS Office.

You might find one of these other programming fonts useful too.

spiral
  • 598
  • 3
  • 10
  • Thanks for the links to the programming fonts. Consolas not available on XP Pro, though. – Tim Aug 25 '10 at 12:35
7

The Windows system fonts FixedSys and Terminal have slashes in the zero.

Jacob Mattison
  • 50,258
  • 9
  • 107
  • 126
  • Terminal is not available on Win XP Pro. FixedSys works OK but has a couple of drawbacks: it cannot go smaller and it gets very jagged when made larger. I forgot to mention cross-browser compatibility in my question: FixedSys works on FF, IE, Opera but not on Chrome or Safari. Thanks – Tim Aug 25 '10 at 12:29
5

By using @font-face you can embed a font into the page so that it will be downloaded as needed. There are a few sites now that will provide fonts to embed, many of them free; one example is Inconsolata hosted by Google.

Tweek
  • 895
  • 6
  • 7
Mark Ransom
  • 299,747
  • 42
  • 398
  • 622
3

The Terminal font that comes with Windows XP has that distinction between 0 and O built-in. However, it's not a TrueType font, so I am not sure this fits your needs.

Android Eve
  • 14,864
  • 26
  • 71
  • 96
  • Thanks. I remember Terminal. Not available on XP Pro though. – Tim Aug 25 '10 at 12:30
  • Huh? Before I posted the above comment, I actually checked on my copy of XP Pro. Did you mean XP Home? – Android Eve Aug 27 '10 at 20:17
  • Sorry, I was looking for the font in Word's font-list and it wasn't there; and when you paste text in Terminal font into Word, it seems the font gets converted into something else; the zero glyph is rendered without a slash. – Tim Oct 04 '10 at 17:44
  • On Windows 7, I see 5,6,9,12 and 14 options for Terminal. On 5 and 9 I don't see the zero with a stroke. – ArturoTena Mar 09 '15 at 20:12
2

There's a very nice font here called Anonymous - credit to Mark Simonson for his work... easy on the eye... also, there's Bitstream Vera Sans, another type...

t0mm13b
  • 34,087
  • 8
  • 78
  • 110
  • Thanks for the link to Anonymous. Yes, easy on the eyes, and free, which will please the powers-that-be. – Tim Aug 25 '10 at 12:37
0

There's a Unicode character Ø, U+00D8: Latin Capital Letter O With Stroke. If you can substitute that character it works in Arial and probably most other Windows fonts.

Mark Ransom
  • 299,747
  • 42
  • 398
  • 622
  • 2
    Although that could make for some unexpected results if the user tries to copy and paste such text. – Josh Kelley Aug 23 '10 at 16:30
  • @Josh, if copy and pasting were the solution it wouldn't be so important to distinguish the characters. But I see your point. – Mark Ransom Aug 23 '10 at 16:41
  • It does have to be an actual ZERO codepoint because our users do sometimes cut data from the screen and paste into other systems, but often they're just writing down by hand what they see on the screen or reading it out to someone on the other end of the phone. We are using several crazy-quilt legacy systems, and the migration "strategy" to the new system is lunacy. If the luddite owner of the company had his druthers, users would be tracking data by writing it on the palms of their hands. – Tim Aug 25 '10 at 12:48
  • @Tim, oh well it was worth a shot. Maybe this answer will work for somebody else some day. – Mark Ransom Aug 25 '10 at 13:46
0

slashed zero fonts: consolas, cascadia (and its variations,) source code