Letter Spacing Issue/Feature Request #3842
Replies: 11 comments 10 replies
-
I personally prefer the spacing of ghostty when comparing those two. some of the letters/characters appear too close to each other at times. you can see it in words like 'biome.json' where there's barely any spacing between 'm' and 'e'. |
Beta Was this translation helpful? Give feedback.
-
Ghostty's spacing does look better to me too. But, just to be sure we're doing things right, what font is this? |
Beta Was this translation helpful? Give feedback.
-
Having the same problem with Jetbrains Mono :( (👻 on top vs WezTerm): Its pretty noticeable and very annoying |
Beta Was this translation helpful? Give feedback.
-
I have same the issue when comparing it to iTerm. I'm using MesloLGS NF. Overall, it feels different. |
Beta Was this translation helpful? Give feedback.
-
Same. This immediately turned me off Ghostty. It just ... looks wrong, when I've been staring at the same font with same kerning for 20+ years of my life. |
Beta Was this translation helpful? Give feedback.
-
I've gotten used to JetBrains Mono size 13 with |
Beta Was this translation helpful? Give feedback.
-
Setting these made it look more or less the same as in iTerm2, judging by the proportions of the Apple logo in adjust-cell-width = "-5%"
adjust-cell-height = "5%" |
Beta Was this translation helpful? Give feedback.
-
Maybe this behaviour could be related to #4197 You can clearly see the distortion comparing the apple logos. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Note there's a lot of screenshots here but I think the question I have is mainly: what is correct? For note, I haven't looked at iTerms code and how they calculate their grid metrics. We base our spacing off of the font's published font metrics. To the best of my knowledge, this is strictly correct. We don't perform heuristics like other terminals do (I don't know if iTerm does this), such as basing grid with based on the lowercase "m" (since it tends to be wide, some terminals do in fact do this). We defer spacing completely to what the font author tells us it should be. Our calculations could, of course, be wrong. If so, I'd like to know. That's an easy fix. If they're not wrong, then I think the correct answer is to either open an issue with various fonts, or to apply cell width adjustments. I think that's annoying but its in the realm of subjective choice that I don't think we can safely apply to all fonts out there. I think leaning on what font authors advertise is a valid and expected behavior and creating our own spacing heuristics seems long term like a bad idea... |
Beta Was this translation helpful? Give feedback.
-
I'm seeing slightly (maybe 1 pixel difference?) different letter spacing between 👻 and iTerm. Not sure if this is something custom with iTerm (don't believe I've adjusted it there). It would be nice if we could adjust this in 👻.
(Top is 👻, it is longer in width because the letter spacing)
Beta Was this translation helpful? Give feedback.
All reactions