kovidgoyal / kitty

Cross-platform, fast, feature-rich, GPU based terminal
https://sw.kovidgoyal.net/kitty/
GNU General Public License v3.0
24.35k stars 979 forks source link

Why isn't Fixedsys Excelsior with ligatures supported? #1887

Closed s5bug closed 5 years ago

s5bug commented 5 years ago

https://github.com/kika/fixedsys

kovidgoyal commented 5 years ago

https://sw.kovidgoyal.net/kitty/faq.html

Luflosi commented 5 years ago

Specifically https://sw.kovidgoyal.net/kitty/faq.html#kitty-is-not-able-to-use-my-favorite-font. Also see https://github.com/kika/fixedsys/issues/1. It seems that Konsole also does not support non-monospace fonts but the owner of the repo with the font apparently does not know how to fix that. @kovidgoyal if you know how and have nothing better to do, you may want to help him.

kovidgoyal commented 5 years ago

I think it's also a bitmapped font which wont work well with kitty anyway.

Luflosi commented 5 years ago

From the fonts README.md:

Darien simulated the bitmap with TrueType outlines by building the font from 10x10 squares ("pixels") and then joining the squares together. As such, this font only works as intended in only one size and usually with antialiasing switched off. The size is 16px or 12pt.

So I think it's not a bitmapped font.

kovidgoyal commented 5 years ago

The point is not so much how it is implemented, but that kitty tends to need freely resizable glyphs, because when a glyph overflows the cell, kitty scales it down to fit. And ofcourse it allows free dynamic font resizing.

Luflosi commented 5 years ago

Everybody using this font needs to decide for himself/herself if it works well enough. Of course this font wouldn't work properly at the wrong font size or when kitty resizes a glyph. Living with these limitations is a tradeoff some people are willing to make.

kovidgoyal commented 5 years ago

The problem with that noble sentiment is that using such a font means kitty wont work well, and I will have to deal with the consequent bug reports.

Luflosi commented 5 years ago

Yeah, that's true.