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

Mix of Bold and Not Bold is not Monospace anymore #552

Closed
MalcolmMielle opened this issue Feb 11, 2018 · 6 comments
Closed

Mix of Bold and Not Bold is not Monospace anymore #552

MalcolmMielle opened this issue Feb 11, 2018 · 6 comments
Labels
Milestone

Comments

@MalcolmMielle
Copy link

Some editor highlight variable by making them bold (Jucii++). Having both Bold and not bold at the same time makes the language not monopace anymore.

@tonsky
Copy link
Owner

tonsky commented Feb 11, 2018

Yep. It’s a known problem. I haven’t figured out yet what causes it

@MalcolmMielle
Copy link
Author

MalcolmMielle commented Feb 11, 2018

Monoisome suffers from the same problem.
And I don't if that help to say that, when choosing the font in Gedit, when switching between regular and bold, the size of the text at the bottom changes while it still is 12. When trying this with Monospace, that does not happen :).

@typical-whack
Copy link

I've run into the same issue.

It's particularly annoying in Intellij with the "darcula" color scheme. This scheme defaults to bold-ing matched braces, which shifts the text ever so slightly due to this bug.

If anyone else has this problem with the "darcula" color scheme in Intellij, the quick fix is to turn off bold text when doing matched brace highlighting in Intellij. This setting can be found here (as of 2019.1):
Settings -> Editor -> Color Scheme -> General -> Code -> Matched Brace

@tonsky
Copy link
Owner

tonsky commented Aug 16, 2019

What OS are you on? Windows/mac/linux? Also what font size, font weight, and are you using TTF or OTF files?

@typical-whack
Copy link

I'm on macOS Version: 10.14.6 (18G84)
Font: Fira Code Retina (1.207)
Font size: 12
Using TTF files

Please let me know if you need any more details

@tonsky tonsky added the metrics label Aug 19, 2019
@tonsky tonsky added this to the 1.208 milestone Aug 27, 2019
tonsky added a commit that referenced this issue Aug 29, 2019
…Box characters to not overflow line height #449
@tonsky
Copy link
Owner

tonsky commented Aug 30, 2019

Can you please try files from this commit? https://github.com/tonsky/FiraCode/tree/b32369cb03ad3c0fe43fd30fd19427169e9592dc/distr/ttf

I moved both ascender and descender down a bit, which fixed bold/having different height for me at least in TextEdit.app.

Let me know how if that fixed it for you too. Thanks!

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

3 participants