adobe-fonts / source-code-pro

Monospaced font family for user interface and coding environments
https://adobe-fonts.github.io/source-code-pro/
SIL Open Font License 1.1
19.85k stars 1.62k forks source link

Please provide a variation with ligatures of Fira Code style #240

Open yvvt0379 opened 4 years ago

yvvt0379 commented 4 years ago

Discussions on ligatures can date back to 6 years ago, where some users were support for ligatures while others were against, thinking that ligatures may harm clarity. Then, 6 years passed and nothing happened. However, are we really unable to make both sides satisfied? In addition, there are worries that one symbol in this programming language may mean something different in that one, for example, <=. However, encountering difficulties is at least better than daring not try at all. Based on these questions, I came up with an idea to design a ligaturized variation, hoping to solve this problem.

EDIT: I totally disagree with the idea that users who want ligatures can use Hasklig. I think that I should emphasize that despite the fact that Hasklig does has ligatures, it is specifically designed for Haskell, in which one symbol may mean something different from that in C and some other languages (e.g. /=). For a non-Haskell programmer, it's something bad to see a ligature that contradicts its original meaning, for it only leads to confusion, which goes against the original purpose of coding ligatures to improve the readability of code and reduce the workload of brains. Moreover, Hasklig is still using the old source code. That's why I'm proposing of providing ligatures suitable for most languages instead of just one language.

ianyepan commented 4 years ago

Look no further, Haslig is your answer: https://github.com/i-tu/Hasklig/

yvvt0379 commented 4 years ago

But hasklig is made for Haskell, in which it is /= instead of != that means ≠.

ianyepan commented 4 years ago

Ah, that'd be a bummer -- have you tried asking Haslig to provide a variant font? IMO that might be easier than asking Adobe to work on ligatures :)

yvvt0379 commented 4 years ago

Not yet.

SimenB commented 4 years ago

A couple of other alternatives - I've used Fira Code for a few years and recently moved to JetBrains Mono. Both support ligatures like hasklig, but are not geared towards specific languages (maybe a slight leaning towards c-style languages?)