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

En dash and hyphen are indistinguishable #404

Closed
a-ignatev opened this issue Feb 2, 2021 · 6 comments
Closed

En dash and hyphen are indistinguishable #404

a-ignatev opened this issue Feb 2, 2021 · 6 comments

Comments

@a-ignatev
Copy link

a-ignatev commented Feb 2, 2021

Description
en dash: –
hyphen: -

Observed result:
image

Expected result:
(DejaVu Sans Mono as an example)
image

@philippnurullin
Copy link
Member

philippnurullin commented Feb 2, 2021

Hi, @a-ignatev . Can you please specify what version of JetBrains Mono you have?
We had similar issue #318
Here is a small preview of hyphen and en dash in latest version.
Screenshot 2021-02-02 at 17 09 55

@trygveaa
Copy link

trygveaa commented Feb 2, 2021

@philippnurullin: It's because of the ligature. Hyphens change width when there are two or three consecutive.

@a-ignatev
Copy link
Author

Hi, @a-ignatev . Can you please specify what version of JetBrains Mono you have?
We had similar issue #318
Here is a small preview of hyphen and en dash in latest version.
Screenshot 2021-02-02 at 17 09 55

I'm using RubyMine 2020.3.2 built-in JetBrains Mono.
Here is an example with and without ligatures.
image
image

I'm not sure if it's the same font or what version it is.

@philippnurullin
Copy link
Member

Looks like bundled version of the font in RubyMine is old.

@a-ignatev
Copy link
Author

@philippnurullin Thank you very much for your support. It works now. I was really hoping that the latest IDE build (2020.3.2, released on Jan 26, 2021) would use the latest JetBrains Mono released at that moment.

@philippnurullin
Copy link
Member

Glad to hear it!
Sorry, the bundle process is a bit slow. So the fastest way is to update manually. We will think on how to make this more convenient.

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

3 participants