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.93k stars 1.62k forks source link

Ligature support #198

Open juanpaulo10 opened 6 years ago

juanpaulo10 commented 6 years ago

Hi, I am really impressed with the font for source-code-pro, it is very relaxing and pleasing to the eye. However, I hope there will be support for ligatures from the days to come. Thanks!

frankrolf commented 6 years ago

Is this covered in #96?

rpbaptist commented 6 years ago

That's just an interest check though. As long as it's not implemented this could still be considered an issue.

pltrz commented 6 years ago

I also really hope to see ligatures!

tucomel commented 5 years ago

I also really hope to see ligatures!

There is one fork what already did ligatures, Im was using Fira Code, but migrated now to this new font https://github.com/i-tu/Hasklig ;)

yvvt0379 commented 4 years ago

But Hasklig is designed for Haskell. However, synbol /= looks like ≠ because in Haskell it means not equal. However, in C and some other languages, it means divide and assign. If you see a ≠ b is written in single line that actually means a = a / b, won't you feel weird?

yvvt0379 commented 4 years ago

And requests about ligatures has been existing for years. However, they are still not implemented by now. Are they too difficult to do? Fonts including Fira Code, Monoid, Iosevka, Pragmata Pro and Jetbrains Mono already have them!(and some have non-ligatured variation) I'm now using Jetbrains Mono but I really miss the days with Source Code Pro! 😖

windless0530 commented 3 years ago

Eager to see this in some later version.

pauldhunt commented 3 years ago

@windless0530 im asking everyone piling on to please list which ligatures you would find most useful. I’m currently working on an update so would be good to get a clear picture of what all I should implement. thnx.

jbrodriguez commented 3 years ago

@pauldhunt I'm really glad to hear that, being as source code pro is my favorite coding font, except I had to switch because of ligatures

Some of the ones I use almost every minute are ===, !==, =>, <=, ->, <-, :=

In any case, fira code's ligatures could be a reference (for the record, not using fira code right now, i'm using another font with ligatures though)

rpbaptist commented 3 years ago

@pauldhunt Awesome to hear. I'm really looking forward to that.

Some I frequently use in Ruby

== != >= <= :: ->  => || && ||= += -=

And in Elixir: (besides some of the above)

<- |> <>
yvvt0379 commented 3 years ago

Or, Jetbrains Mono is also a good choice for reference.

nbiederbeck commented 3 years ago

I really like the arbitrary-long combinative arrows from Fira Code, e.g. image

Besides arrows, this make nice lines in e.g. progressbars or underlines

amendgit commented 2 years ago

+1, really want this happen.

TheUnknownMystery commented 2 years ago

any updates? about the font ligatures?

pauldhunt commented 2 years ago

I had begun on an update to Source Code last year, but have since picked up some additional projects. Coding ligatures are on my list for the next release, but unfortunately that probably won’t happen as soon as we would like.

TheUnknownMystery commented 2 years ago

Appreciate the response mate!

Kekun commented 2 years ago

@windless0530 im asking everyone piling on to please list which ligatures you would find most useful. I’m currently working on an update so would be good to get a clear picture of what all I should implement. thnx.

I personnaly use the ones for C a lot: -> || && ++ -- |= &= += -= *= /= !! /* */ //

NKjoep commented 2 years ago

That sounds great!

I'd add to this list: != !== => <= ===

yvvt0379 commented 2 years ago

Also, </ /> <!-- --> can be put into consideration.

KeqiZeng commented 1 year ago

I also expect ligature support!