Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
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

Curly braces don’t align at certain font sizes in PyCharm #21

Open
davidskeck opened this issue Jan 16, 2020 · 13 comments
Open

Curly braces don’t align at certain font sizes in PyCharm #21

davidskeck opened this issue Jan 16, 2020 · 13 comments
Labels
bug

Comments

@davidskeck
Copy link

@davidskeck davidskeck commented Jan 16, 2020

When using {} in PyCharm, the curly braces don’t align at sizes 10-15. They always seem a little misaligned after that, but it is much better.

@latifrons

This comment has been minimized.

Copy link

@latifrons latifrons commented Jan 16, 2020

image

image

Agreed.

@artem1458

This comment has been minimized.

Copy link

@artem1458 artem1458 commented Jan 16, 2020

Same in WebStorm. Size 13
image

@svenbit

This comment has been minimized.

Copy link

@svenbit svenbit commented Jan 16, 2020

Also happens on Jetbrains Rider 2019.3.1
2020-01-16_16h29_40

Font size: 14
Line spacing: 1.0

@DominikPalo

This comment has been minimized.

Copy link

@DominikPalo DominikPalo commented Jan 16, 2020

WS-193.5662.54

Font sizes: 12, 13, 14
Line spacing: 1.2

image (4)
image (3)
image (5)

@philippnurullin

This comment has been minimized.

Copy link
Contributor

@philippnurullin philippnurullin commented Jan 16, 2020

Hi, it's a bug of the v 0.23 of the JetBrains Mono. Unfortunately, the bundled fonts is always have priority when IDE decided which to use. We are working on correcting this behaviour. This problem will be solved when v 1.0 will be bundled.
You can try to fix it for now by switching to grayscale antialiasing in Settings → Appearance

@pakLebah

This comment has been minimized.

Copy link

@pakLebah pakLebah commented Jan 17, 2020

I don't see the misalignment on VS Code, XCode, IntelliJ, and TextEdit on my Mac.

jetmono_bracket_alignment

@philippnurullin philippnurullin added the bug label Jan 17, 2020
@aaronbell

This comment has been minimized.

Copy link

@aaronbell aaronbell commented Jan 17, 2020

Likely a slight misalignment between brace outlines. A custom CVT would also help lock these together.

@Renerick

This comment has been minimized.

Copy link

@Renerick Renerick commented Jan 17, 2020

This problem will be solved when v 1.0 will be bundled.

Any ETA on v1 bundle?

@gimmi

This comment has been minimized.

Copy link

@gimmi gimmi commented Jan 20, 2020

Seems that this problem is still present in v1.0.0 bundle, see the following screenshot from JetBrains Rider IDE:

image

@Renerick

This comment has been minimized.

Copy link

@Renerick Renerick commented Jan 20, 2020

Workaround found in #49 - remove bundled font and install latest version from the site systemwide

@gimmi

This comment has been minimized.

Copy link

@gimmi gimmi commented Jan 20, 2020

I am using the font downloaded from https://www.jetbrains.com/lp/mono/ but the issue is still there.

Here is the reported version:

image

@hntd187

This comment has been minimized.

Copy link

@hntd187 hntd187 commented Jan 20, 2020

I did the same thing as @gimmi and the bracers are still mis-aligned.

@jtouati-keyyo

This comment has been minimized.

Copy link

@jtouati-keyyo jtouati-keyyo commented Jan 22, 2020

Can confirm this is... a bit disturbing :)

Using latest IntelliJ Idea (2019.3.2) on Windows (didn't try downloading the font separately, but it doesn't seem to be making any difference anyway).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.