-
Notifications
You must be signed in to change notification settings - Fork 302
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 zero variant? #8
Comments
@daniellizik There is no slash currently, it's a dot. Also, I think increasing your text size would help discern the difference. The reason why the zero has anything in it to begin with is to better distinguish from "O". Monospaced "O" looks awfully similar to "0" at a glance. |
There is a slashed zero in JetBrains Mono. But to use it, your IDE needs to support stylistic sets (opentype feature). |
@philippnurullin Thanks for the tip! Sublime Text apparently doesn't have support for specifying a slashed zero in its settings. Still. |
If your IDE doesn't support the ligatures necessary for slashed zeroes, this patch should work. I used FontLab to replace the default zero with the slashed variant. In FontBook (macOS) you won't see it in the preview but it'll appear in your IDE. |
@philippnurullin I'd like this option too, but I can't see how in sublime text. ST 3.2 supports some Vscode can use the modified zero however, just change
ps. Are the stylistic set variations for JBM documented anywhere? |
Yes, it would be good to be able to download the font pack with slashed zero as default. Emacs don't support stylistic sets either. The dotted zero is somewhat unpredictable, sometimes the dot is centered and in other font sizes is not. For me JBM font wins ahead of Consolas (my so far winner), Hack, Fira Code, Fantasque Sans Mono and Input Mono. Thank you :) |
@philippnurullin Do JetBrains IDE support "support stylistic sets (opentype feature)", and if so, how do I enable this? |
@k0pernikus Unfortunately not yet. You can follow this issue on YouTrack https://youtrack.jetbrains.com/issue/IDEA-221886 |
@qgates Wow, sorry. Totally missed your message. There is not much beside the slashed zero feature now. Making a lot of different font family's is not a good solution. For example, is we will make the version of JetBrains Mono without ligatures in 4 weights with italics, 8 total + version with ligatures, 8 files. Then each of this version will have the dotted zero & slashed. Thats leaves us with 32 font files. At some point (soon) we will be expanding the weights from 4 to 7, its 56 files. Yes, it can be automated, but complexity of system will only grow & create an opportunity for an error. The only way i see it can be done good, is adopting the approach of Input Mono with the visual font family settings. This will be a good "next" step, right now we are more concentrated on present. |
@philippnurullin Hey, no apology necessary 🙂 I agree that having multiple fonts for different tastes could easily get out of hand and I also like how Input Mono has solved that problem. This would be great for the future, and might allow for a bunch of variations including the Oh and while on the nitpick there's something about the |
It seems to me, that the need to distinguish the 'O' from zero is a relict from the past where all IDEs and Text Editors had only a single color. Consider this:
For me, that are two very good reasons to not decorate the zero with anything that makes it harder to distinguish from an '8'! @NetOperatorWibby May i kindly ask you to invest the time to make a version without any decoration on the zero? (Maybe just copy the 'O'). I would highly appreciate it, and i think many others too. Edit: |
@djoerg No, we won't. Don't you guys mess with my 0s and Os. :) |
Interesting. How in the world I'm supposed to learn that this font has a stylistic set (OpenType alternative) for zero looks? It has to be documented somewhere. But, while I'm happy the issue with the slashed zero is somewhat addressed, it seems like I can't make use of it in VScode. Using the From |
"editor.fontLigatures": "'calt' 0, 'zero' 1"
// or "'calt' off, 'zero' on" |
@alexeyten thank you! It did the trick. Now my only complain within this issue is about documentation - better have all available features listed in the readme / at the website. |
@KillyMXI Yes, we will add the list of all the features at some point. |
|
How would i do that in visual studio 2019? The problem is that most of the tools doesnt support stylistic sets, dotted zeroes are hard to distinguish at small sizes. |
@philippnurullin can you provide a version with slashed zero ? I am using Intellij IDEA based IDE's and I can't get around this issue. |
@cata0309 Hi. I can't because of the the problems it will bring. More about it here → #8 (comment) |
I editted the font in FontForge by switching the zeros, I had no problem using it thought. |
@cata0309 Glad to hear you found a solution. |
@cata0309 Can you please provide your patched font file? |
Of course, is it ok if I link it here @philippnurullin ? I am thinking about making an archive. |
Ok, so I swapped the dotted zero with slashed zero(and also added slashed zero to the NL versions) |
@cata0309 loved it ! im already using this version |
@cata0309 I'm 100% ok with this. Tat's why the project is open source. |
I am glad I made someone happy ! |
@cata0309 Thanks for the patched version, but the ligatures seem to have stopped working. |
@lostcoda I made my own patch a few days after I made this issue and ligatures work. |
@NetOperatorWibby In Intellij, ligatures work just fine from your patch but slashed zero doesn't. It is still dotted. |
@lostcoda That's strange, it works in Sublime Text. Did you completely remove the previous font before installing my patched one? |
@NetOperatorWibby Yes, I did. Everything works fine as it is in vscode, but not in intellij. |
@lostcoda Oh damn, idk what to do about that. |
IntelliJ bundles JetBrains Mono. I guess you have to remove it from the IntelliJ installation in addition to removing it globally. |
@trygveaa @philippnurullin Everything's working fine after removing the built-in bundle. Thanks. |
I've made available JetBrains Mono Slashed, which is JetBrains Mono with slashed zero as the default. I am using the font myself, so I will try to keep it relatively up-to-date with the official font. |
Thanks for your work @sharpjs ! |
@sharpjs Thank you and have a good one! |
For posterity and search indexer: in kitty terminal, here's what you do:
|
This typeface looks phenomenal but I much prefer to have a slash in my zero versus a dot inside it.
The text was updated successfully, but these errors were encountered: