kiliman / operator-mono-lig

Add ligatures to Operator Mono similar to Fira Code
MIT License
3.22k stars 203 forks source link

Is it posible to add random length ligatures? #68

Open karambaq opened 6 years ago

karambaq commented 6 years ago

Right it's the Iosevka font, https://github.com/be5invis/Iosevka Is it to posible to add this type of ligatures?

2018-07-04 0 42 27
kiliman commented 6 years ago

Hmm.. I'm not sure how Iosevka does that. I'll have to download it and check it out.

However, I have fixed the repeating ligature problem in the branch features/contextsubst. Look at issue #37 for more info. Instead of getting partial ligatures, it simply reverts to the normal characters after it exceeds the longest version.

repeating-chars

be5invis commented 5 years ago

@kiliman Iosevka substitutes one hyphen - in to a part of that arrow. For <---------- a Chaining Contextual Substitution is used. For ----------> a Reverse Chaining Contextual Single Substitution is used. See https://docs.microsoft.com/en-us/typography/opentype/spec/gsub