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

Dotted zeros instead of slashed zeros. #81

Open
2 tasks done
dumol opened this issue Jan 16, 2024 · 2 comments
Open
2 tasks done

Dotted zeros instead of slashed zeros. #81

dumol opened this issue Jan 16, 2024 · 2 comments
Labels
enhancement New feature or request where: font

Comments

@dumol
Copy link

dumol commented Jan 16, 2024

Font Name (Geist Sans/Geist Mono):

  • Geist Sans
  • Geist Mono

Description of the Issue:
Slashed zeros are too similar to Scandinavian letter Ø.

Steps to Reproduce:

  1. Compare 0 with Ø in Geist Mono.
  2. Activate slash zero in Geist Sans with ss09.
  3. Compare the slashed zero with Ø in Geist Sans.

Expected Behavior:
For Geist Mono, use a dot inside the zero to have it easy distinguishable from both Ø and O.
For Geist Sans, add a zero with a dot inside, and use that for the zero stylistic set.

Screenshots:
20240116_13h50m02s_grim

Environment (please complete the following information):

  • OS: All
  • Software: All
  • Version of the Font: 1.002

Additional Context:
Dotted zero is a common solution to this problem, as implemented in JetBrains Mono, IBM Plex Mono, Source Code Pro, etc.

@dumol dumol added the bug Something isn't working label Jan 16, 2024
@guidoferreyra guidoferreyra added enhancement New feature or request and removed bug Something isn't working labels Jan 16, 2024
@luciascarlet
Copy link

luciascarlet commented Apr 15, 2024

This is just my opinion, but I don't like the look of dotted zeroes at all and tend to change them to slashed zeroes whenever it's allowed by a font. It's also not a good idea for low-DPI rendering as it often ends up being off-centre. Nonetheless, I think it would be a great addition as a stylistic set, just so that the option is there for those who want it.

However, I really like how Atkinson Hyperlegible went about solving this same problem of distinguishing Ø and 0, where the slashed 0 is simply flipped. This will render well on any screen, looks nicer (IMO), and is legible.

image

@dumol
Copy link
Author

dumol commented May 28, 2024

I agree with the above suggestion of using an inverted slashed zero.

On a tangent, I'm currently using a low-dpi device where I use a collection of fonts and FontConfig rules to improve legibility: https://github.com/dumol/PixelPerfect/. The ui-monospace font that I'm setting through those rules is Luculent, which actually has an inverted slashed zero. GitHub uses ui-monospace for monospaced texts here, that's how I noticed…

(For the record, my personal preference is for a dotted zero, but given the attention Geist is getting for rendering on low-dpi devices, I guess the inverted slashed zero would be a better default, as argued above by @luciascarlet.)

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request where: font
Projects
None yet
Development

No branches or pull requests

3 participants