JetBrains / JetBrainsMono

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

Ligature `oo` request #608

Open MichalMarsalek opened 1 year ago

MichalMarsalek commented 1 year ago

SageMath uses oo to denote infinity. I'd like to suggest a ligature for this "double o" to be added in which the o's are pushed closer to each other so that they look more like the infinity symbol.

yvvt0379 commented 1 year ago

I think this could be added, but not as default. After all, we dont want book to become b∞k.

MichalMarsalek commented 1 year ago

I think this could be added, but not as default. After all, we dont want book to become b∞k.

I know nothing about how ligatures are implemented, but it seems that they can use a context? For example ?? are pushed together but not if it is followed by another ?. Is it possible to encode that ooligature should only apply if it doesn't neighbour any letters?