Firacode: Vertical position change between 1.207 and 2

Created on 10 Sep 2019  路  8Comments  路  Source: tonsky/FiraCode

Using Kitty and Tmux on macOS with FiraCode 1.207:
Screen Shot 2019-09-10 at 10 59 53

Same configuration but with FiraCode 2:
Screen Shot 2019-09-10 at 10 56 15

The text is no longer vertically centered in the colored background cell.

Additionally, I noticed that for both versions, the text on the background is not vertically aligned with text on the default background.
With 1.207:
Screen Shot 2019-09-10 at 11 03 38

With 2:
Screen Shot 2019-09-10 at 10 56 41

It's worse with the new version and I had never noticed the discrepancy before with the old version but this may be the same issue.

I am happy to provide further information about my configuration. Please let me know what information would be useful.

EDIT: I tried the same experiment in Terminal.app, which is using the default "Pro" theme except for the font changed to Fira Code Regular 14pt.
With 1.207:
Screen Shot 2019-09-10 at 11 14 52

With 2:
Screen Shot 2019-09-10 at 11 14 23

In this case, with the new version, the text is too low. 馃槥

Most helpful comment

I've watched a similar behaviour in IntelliJ 2019.2. There is a more space between the characters.

With 1.207:
FiraCode_1 207

With 2:
FiraCode_2

I have this problem too. Happens across all applications where I use this font, Emacs, IntelliJ and iTerm. Considering downgrading as v2 just looks plain strange at 14pt, with the added horizontal spacing.

All 8 comments

It鈥檚 a shame, but I have very little control over how terminals determine where the line starts and ends. As you can see, with the same fonts two different terminals make completely different decision. The fact that 1.207 worked fine in your two cases was a happy coincidence. Many people were struggling with it https://github.com/tonsky/FiraCode/issues/798. I鈥檇 like to please everyone but I just don鈥檛 know how and if it鈥檚 possible at all

I've watched a similar behaviour in IntelliJ 2019.2. There is a more space between the characters.

With 1.207:
FiraCode_1 207

With 2:
FiraCode_2

I've watched a similar behaviour in IntelliJ 2019.2. There is a more space between the characters.

With 1.207:
FiraCode_1 207

With 2:
FiraCode_2

I have this problem too. Happens across all applications where I use this font, Emacs, IntelliJ and iTerm. Considering downgrading as v2 just looks plain strange at 14pt, with the added horizontal spacing.

Actually 1.207 was the version that (unintentionally) introduced the biggest change in line height. 2 is most close (not exact, but almost the same) to 1.206 and everything that came before it (including Fira Mono)

It looks like the answer is this is a wont/cantfix at the moment. Am I correct in that understanding?

It is strange to me how different FiraCode seems to behave compared to the other mono fonts on my system but it's true that they don't update with any frequency and they're probably not using even half as many fancy font features as FiraCode does.

Perhaps I should ask the developers of other programs for font tuning options haha...

I find the 2.0 ttf version, the different font weight has different spacing(the regular is normal, the medium has big spacing).
The spacing should being the same.

I鈥檇 happy to fix but not sure what to do. Rolling back to 1.207 is not an option, as it caused many complaints as well

this issue is present in terminal.app as well, however the vertical space is at the top of the line, not the bottom as in kitty (i am also a kitty user). iTerm does not manifest this issue for some reason. this is quite a showstopper for me unfortunately and rolling back.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pedrowebcomum picture pedrowebcomum  路  4Comments

ghivert picture ghivert  路  4Comments

Jhonyrod picture Jhonyrod  路  4Comments

aryairani picture aryairani  路  3Comments

mlajtos picture mlajtos  路  4Comments