Hasklig icon indicating copy to clipboard operation
Hasklig copied to clipboard

Ligatures for != <= >= !%% #! && '''

Open FuriouslyCurious opened this issue 6 years ago • 12 comments

I know Haskell doesn't need them but think of the other starving programming languages! Your donation of only seven ligatures will feed us for years. YEARS!

FuriouslyCurious avatar Sep 17 '17 18:09 FuriouslyCurious

Please!

NoahAndrews avatar Sep 18 '17 02:09 NoahAndrews

Blackfont has some ligatures for C / Python: should we upstream them to Hasklig?

https://github.com/blackro-se/blackfont

FuriouslyCurious avatar Sep 18 '17 08:09 FuriouslyCurious

I'm not a Haskell user but I adore Source Code Pro and would really love if Hasklig were to be more of a general purpose font that caters to most languages.

ghost avatar Sep 25 '17 16:09 ghost

Please add these! But while you're in there, please don't forget !== and ===.

Asuza avatar Oct 09 '17 20:10 Asuza

I'm a fan of source code pro, and I use Java Kotlin. Please add those symbols!

LanderlYoung avatar Nov 15 '17 12:11 LanderlYoung

@LanderlYoung @Asuza @Krakob @FuriouslyCurious I used [https://github.com/rojiani/Ligaturizer] to patch the Source code pro. It basically patches the all the FiraCode Ligatures onto any reasonable font. Its a great utility if u like both source code pro and the Fira code style ligatures. Try it out scp ligatures

vikky49 avatar Jan 23 '18 17:01 vikky49

@vikky49 That's great!!!! I'll give it a try. (I was using blackfont previously)

In Chinese this is "授之以渔"!

image

And here is the result. (I hope it doesn't have any copyright issue, if it does, please let me know, and I'll delete it.)

SourceCodePro-Ligature.zip

LanderlYoung avatar Mar 18 '19 12:03 LanderlYoung

Ligaturizer is ok, but some ligatures like && doesn't really fit with the rest of the font...

snaggen avatar May 28 '19 15:05 snaggen

@snaggen you can exclude ligatures you don't want

nino-moreton avatar Sep 20 '19 05:09 nino-moreton

@nino-moreton yes, but I still like to have ligatures, just not ligatures that doesn't fit with the font. So I actually ended up doing just that and manually edit the font to add a && liggature I created myself. That is however not production quality, since I really don't know anything about editing fonts... but it works for me. So, I currently have a SourceCodePro font with ligatures that works for me... but it would be better to have a proper solution.

snaggen avatar Sep 20 '19 12:09 snaggen

The author hasn't done much changes to the font himself in recent years but seems open to contributions. The only way to get this implemented is probably if someone submits a pull request.

PyvesB avatar Jun 15 '20 08:06 PyvesB

+1

sgaliamov avatar Nov 09 '20 22:11 sgaliamov