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

Open type features documentation? #478

Open
addy419 opened this issue Jul 31, 2021 · 7 comments
Open

Open type features documentation? #478

addy419 opened this issue Jul 31, 2021 · 7 comments
Labels

Comments

@addy419
Copy link

addy419 commented Jul 31, 2021

I love using Jetbrains Mono because it is one the most aesthetically pleasing fonts. Although with some caveats like lower-case "l", which I prefer to be straight instead of curvy. After taking a look at issues like #8 and #238, I was wondering if there are other opentype features or stylistic sets that are supported by Jetbrains Mono like the slashed 0. If so, can we get a document them?

@philippnurullin
Copy link
Member

Hi @addy419 . Right now the only OpenType feature supported by JetBrains Mono is:

  • Contextual alternates (the ligatures are here);
  • Slashed zero;
  • Localized forms;
  • Subscript and superscript numbers;
  • Case sensitive forms (they are fairly dumb in current implementation, I will make them a bit context aware later);

The only one feature making a big impact is Slashed zero. But it have an issue itself. So I feel like there is not much documentation needed, for now.
At the next big release I'm aiming at adding a lot of symbol alternates and form a couple of Stylistic sets from them. It will be fair to add the list of them then.

@yvvt0379
Copy link

yvvt0379 commented Aug 2, 2021

So what's the issue of the slashed zero? I tried, and found no error.

@addy419
Copy link
Author

addy419 commented Aug 2, 2021

@philippnurullin Thank you for the info. Yes, it makes sense to add the documentation along with stylistic sets. Should I leave this issue open?

@philippnurullin
Copy link
Member

@CodeCrazy-ywt I was referring to the #8. If anybody is interest in slashed zero he will probably will end in that issue.

@addy419 Yes, sure. Let's leave it open until the documentation will be added.

@yvvt0379
Copy link

yvvt0379 commented Aug 2, 2021

@CodeCrazy-ywt I was referring to the #8. If anybody is interest in slashed zero he will probably will end in that issue.

You mean 0 is hardly distinguishable with 8 in small sizes? IMHO it's not a big issue because normally we don't code in too small sizes which is harmful to eyes, and simply turning up the font sizes will solve this problem.

@shilangyu
Copy link

I just found out by accident that JetBrainsMono supports font features by having them enabled for a different font long time ago in my editor, and upgrading JetBrainsMono to v2.304 suddenly made it look weird. I assumed that the new version just changed the font dramatically. But after some digging I found out it was because of the old font features I had enabled which now happened to apply to v2.304.

So I feel like there is not much documentation needed, for now.

Now that the list of character variants has grown, is it time for some documentation for it? I could not found anything about the codes.

@philippnurullin
Copy link
Member

Made a page in Wiki. https://github.com/JetBrains/JetBrainsMono/wiki/OpenType-features
Later we will add images so it becomes more clear & pretty.
Hope this will help for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants