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

Feature Request: Provide font variant with slashed zero instead of dotted zero #481

Closed
k0pernikus opened this issue Aug 29, 2017 · 7 comments

Comments

@k0pernikus
Copy link

k0pernikus commented Aug 29, 2017

I prefer the visual clarity of a dashed zero over the dotted one.

Compare Fira Code vs Meslo DZ:

selection_044

In this example, the comparision between 8 and 0 might seem forced, yet esp. on small fonts or on certain colored foreground and background color combination, one can mistake them.

I would highely appreciate the option to chose and hence I kindly ask for a font variant of Fira Code with da Dashed Zero.

@tonsky
Copy link
Owner

tonsky commented Aug 29, 2017

Duplicate of #342

It’s actually in the font, you can enable it through opentype features or with css through font-feature-settings: "zero" 1, "liga" on;

@k0pernikus
Copy link
Author

@tonsky Could you please explicate how I can activate it? I have installed the font on my Ubuntu system and have set it to be used in my terminal / IDE.

@tonsky
Copy link
Owner

tonsky commented Aug 29, 2017

Depends on an editor. In web-based (atom), add that line to the editor stylesheet. In other editors, I’m not sure if that’s possible

@YourFin
Copy link

YourFin commented Oct 5, 2017

I have a version in my dotfiles with slashed zeros by default. Note that this zero is not the included one, but one with a line that I put in by hand. Here's an example:
scrollback

Edit: broken link

@k0pernikus
Copy link
Author

@YourFin I think you to wanted to link this repository

Furthermore, I only find a reference to your FiraHacked, not the font file itself. Could you please add it there?

@dmitriyK1
Copy link

@k0pernikus

I created a slashed zero variant:
https://github.com/dmitriyK1/FiraCodeSlashedZero

@YourFin
Copy link

YourFin commented Nov 11, 2017

@k0pernikus whoops sorry, it should be in the root of the repo if you're still looking for it

@tonsky tonsky closed this as completed in b6918c4 Feb 27, 2018
robfrawley pushed a commit to robfrawley/fonts-firacode that referenced this issue Jul 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants