Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slashed or dotted zero to differentiate from O #33

Open
flipswitchingmonkey opened this Issue Apr 8, 2019 · 2 comments

Comments

Projects
None yet
3 participants
@flipswitchingmonkey
Copy link

flipswitchingmonkey commented Apr 8, 2019

It'd be nice if the zero character could differ more from the O character:
image
Ideally the numeric zero would be slashed or dotted, so as to clearly differ from the letter O.
See e.g. https://github.com/tonsky/FiraCode for an example.

@thisisdano

This comment has been minimized.

Copy link
Member

thisisdano commented Apr 8, 2019

I could see this being a good case for an alternate character — accessed with something like font-feature-settings: "zero"

@otherjoel

This comment has been minimized.

Copy link

otherjoel commented Apr 9, 2019

Worth noting: Public Sans is a text/UI font, not a monospace or coding font. Most text/display typefaces don’t have slashed or dotted zeros.

Generally if you have ID numbers or other contexts where 0/O differentiation is important, you would use a different typeface for those elements.

The US Web Design System, of which Public Sans is a part, currently specifies Roboto Mono (which does have a slashed zero) for this purpose. See https://v2.designsystem.digital.gov/components/typography/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.