tonsky / FiraCode

Free monospaced font with programming ligatures
SIL Open Font License 1.1
76.03k stars 3.07k forks source link

Subset to disable all non-obvious ligatures #1560

Open tonsky opened 7 months ago

tonsky commented 7 months ago

Keep stuff like better-aligned := but remove -> != etc

nmsmith commented 3 months ago

As part of this, please consider disabling the __ ligature. (It certainly isn't obvious, because it obscures how many underscores are used.)

And if you're going to offer a minimalist subset of ligatures, may I further suggest breaking up the ligatures into semantically-related groups (e.g. arrows, markdown, ...), so people can pick-and-choose what they need? ❤️

Personally, the only ligatures I'm really interested in are the alignment ones (as you mention), the comparison operators, and the -> arrows.

nmsmith commented 3 months ago

Also, it might be worth considering a "gapped arrow" ligature, rather than no ligature at all. Something like: Screenshot 2024-03-30 at 10 23 28 am

This makes it clear that the arrow is composed of two separate characters, while also maintaining the strong resemblance to an arrow.

nmsmith commented 2 months ago

It's also worth considering the ligature style that the 0xProto font uses.