JetBrains / JetBrainsMono

JetBrains Mono – the free and open-source typeface for developers
https://jetbrains.com/mono
SIL Open Font License 1.1
10.87k stars 300 forks source link

Ligature request: ??? #434

Open FlorianCassayre opened 3 years ago

FlorianCassayre commented 3 years ago

Scala defines the ??? symbol (triple question mark) as an alias for NotImplementedError (source). The font currently provides a ligature for ??, but none for ???.

FlorianCassayre commented 3 years ago

I'm also noting the following (minor) discrepancies:

Don't hesitate to move these remarks to a separate ticket if you find the need to.

philippnurullin commented 3 years ago

Corrected the <:< in latest push. It was broken in Italic in 2.242. Are +: :+ ++: :++ operators? Why do they need to be ligatures?

FlorianCassayre commented 3 years ago

Thanks for the fixes, means a lot!

Those are operators defined in the standard Scala library (prepending/appending of a single element / sequence of elements; source). A ligature for them might be overkill, but I was pointing out the fact that ++: and :++ both had a ligature on ++ which makes them appear detached from the colon :.

philippnurullin commented 3 years ago

Ok, I'll think about it. Right now I see two ways. Break the ++ ligature if : is around, or add the ++: & :++ as ligatures.