microsoft / cascadia-code

This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal.
Other
25.9k stars 805 forks source link

Cascadia Mono := key sequence has poor alignment #448

Open jtroo opened 3 years ago

jtroo commented 3 years ago

Environment

I don't think it matters here.

Steps to reproduce

Use Mono instead of Code. I prefer Mono over Code because I don't like ligatures. Type the key sequence := which is frequently used in some languages.

Expected behavior

Alignment looks decent.

E.g. see image of Hack. Not perfect, but it's ok: image

Actual behavior

Alignment is quite bad.

Image below is Cascadia Mono: image

aaronbell commented 3 years ago

The concept of "Mono" is that it is an "as-is" font with no special tricks or what-have-you.

So what you want exists, but it exists in Cascadia Code:

Screen Shot 2021-04-29 at 4 00 34 PM

I'd classify this sort of feature in the same realm as the ligatures (as in, the font is modifying glyph appearance) so tend to think that it should not be present in Mono, but I'll think about it :)

jtroo commented 3 years ago

Feel free to close the issue if it's not in line with the design goals of the font - just thought I'd bring it up.

As an aside, I've tried using ligatures before and found them to harm instead of help my ability to read & edit code, so I don't use them. Every once in a while I try them out again and end up turning them off in the end. If I could turn on ligatures for only some character combinations but not others (e.g. just for :=), that would be perfect, but I haven't found out how to do that yet.