Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
59.4k stars 3.39k forks source link

There is something wrong in font spacing #6524

Open KazeDog opened 2 years ago

KazeDog commented 2 years ago

Describe the problem:

  1. Character spacing becomes too large when using certain fonts, such as Georgia(fig.1)
  2. When I use some fonts, such as JetBrains Mono, after setting this font, when I open a new terminal to view the top, there will be a large space between each line(fig.2)

fig 1: QQ截图20220531234154 fig 2: QQ截图20220531234126

Eugeny commented 2 years ago

Re Georgia: you shouldn't be using a non-monospace font in a terminal.

KazeDog commented 2 years ago

Re Georgia: you shouldn't be using a non-monospace font in a terminal.

Oh, yes. But what is the second problem? It doesn't affect already opened terminals, only newly opened terminals after setting the font.

pcgeek86 commented 2 years ago

I am having extra space in between lines as well. I messed with the terminal.linePadding option, but it does not fix the line spacing, no matter what value I specify.

This is at 100% zoom with 30 font size. Looks okay. 👍🏻

image

This is at higher zoom with same 30 font size. Looks bad, because of extra space between lines. 👎🏻

image

The only way for me to work around this is to increase the font size setting in Tabby.

reynadan commented 1 month ago

Re Georgia: you shouldn't be using a non-monospace font in a terminal.

I use Cascadia Mono SemiBold font to get something a little bigger

image