githubnext / monaspace

An innovative superfamily of fonts for code
https://monaspace.githubnext.com
SIL Open Font License 1.1
13.12k stars 219 forks source link

`ss06` consecutive plus and hash looks werid under kitty terminal #222

Open inogai opened 1 month ago

inogai commented 1 month ago

Variant: Monaspace Neon (Static OTF) v1.101, installed via Homebrew OS: macOS Sonoma 14.4.1 arm64 terminal: kitty 0.34.1

Sample Configuration:

font_family       Monaspace Neon Medium
font_features     MonaspaceNeon-Medium -calt +liga +ss01 +ss02 +ss03 +ss04 +ss05 +ss06 +ss07 +ss08 +ss09
image

It happens regardless of different font weights, variant or static.

I think it might be kitty being unhappy to the change of dimensions of the glyph. (I suspect monaspace cuts the left of the + and # and extends the right to achieve the ligature from observing the broken glyph?) Other fonts' consecutive + and # ligature works fine though.

heathercran commented 1 month ago

Hmm, it looks like this is a "feature" that Kitty enforces, unfortunately. I'll look into a fix in the next update, but in the meantime, you can disable ss06 to remove those consecutive ligatures from appearing.