nanozuki / tabby.nvim

A declarative, highly configurable, and neovim style tabline plugin. Use your nvim tabs as a workspace multiplexer!
MIT License
570 stars 20 forks source link

Default tab style looks broken #31

Closed GabMus closed 1 year ago

GabMus commented 2 years ago

The image shows the problem.

image

I'm using the nerd-fonts-jetbrains-mono font from the Arch User Repository, this same problem occurs in VTE based terminals, as well as in alacritty and konsole.

Using ttf-nerd-fonts-symbols from the Arch repos shows a similar problem with the glyphs:

image

Using other nerd font patched fonts like hack shows yet the same problem.

nanozuki commented 2 years ago

I found that nerd fonts must use by the patch of the font, in case the width and height do not match. So the ttf-nerd-fonts-symbols may break the UI. About nerd-fonts-jetbrans-mono, Can you share your VTE-base terminal and alacritty font setting? I try to debug in my machine.

GabMus commented 2 years ago

And here's the current font setting for tilix (current VTE terminal I'm using, confirmed to be broken even with other terminals):

image

No point in showing you different font selections in a screenshot, in both alacritty and tilix I tried:

gnoeyp commented 2 years ago

I have the same issue with the following iterm config.

스크린샷 2022-08-11 오후 11 02 16

nanozuki commented 2 years ago

For now, I know the answers

@GabMus You should use the matching need font, not a different font; for example, JetBrains Mono should use JetBrains Mono NerdFont, not ttf-nerd-fonts-symbols. The best way is to not mix the two fonts and use the patched font directly

@chananababa In iTerm2,should use the Hack Nerd Font Mono