tonsky / FiraCode

Free monospaced font with programming ligatures
SIL Open Font License 1.1
76.7k stars 3.09k forks source link

OTFeatureFreezer without ligatures #1374

Open nashpatty opened 2 years ago

nashpatty commented 2 years ago

Is it possible to disable ligatures and use OTFeatureFreezer to build the font without ligatures? I can't find the code for it anywhere on the repo, if such a feature exists. I could use Fira Mono, but I like the increase in size of some of the characters, particularly the + and * symbols in Fira Code.

tonsky commented 2 years ago

I think some people have used it, as far as I understand, it works for some features, but not for others

tonsky commented 2 years ago

Sorry I didn’t read that thoroughly. People use it to enable stylistic sets, not sure about turning off ligatures. You might try disabling calt to disable ligatures

VladWinner commented 2 years ago

I think some people have used it, as far as I understand, it works for some features, but not for others

Yes. https://github.com/twardoch/fonttools-opentype-feature-freezer/issues/20#issuecomment-650642262 Due to the lack of binding to Unicode, OTFeatureFreezer cannot completely bake (enable) cv03-cv06, zero (cv11-cv13), cv14, onum, ss04, cv18, ss03, cv15-cv16, cv29. e.g. Cannot remap 'numbersign_braceleft.liga' -> 'numbersign_braceleft.liga.cv29' because neither has a Unicode value assigned in any of the cmap tables.

not sure about turning off ligatures

Yes, this software is not designed to disable ligatures.

gmr458 commented 2 years ago

is there an alternative to that software that can disable ligatures?

brzzdev commented 2 years ago

Would you ever offer a version without ligatures, like some other fonts do?

tonsky commented 2 years ago

I am working on full configurator to being able to turn off individual ligatures, so there will be a way

brzzdev commented 2 years ago

Awesome. Looking forward to it