belluzj / fantasque-sans

A font family with a great monospaced variant for programmers.
http://openfontlibrary.org/en/font/fantasque-sans-mono
SIL Open Font License 1.1
6.97k stars 154 forks source link

Port Fira Code's ligature logic #134

Closed claymager closed 4 years ago

claymager commented 4 years ago

This ports much of the logic from Fira Code into Fantasque Sans, correcting some ligature bugs that have been already noted, and preventing others in case of expansion.

It also allows for arbitrary-length ligatures. Simply add a properly formatted *.liga.glyph, and the python takes care of the rest. No more 4-char limit.

I have not built this version. My fontforge uses python3. I tried to make everything backwards compatible, but have not been able to verify that it builds. See my main branch for a viable python3 version.

** Btw, thanks for the great font. I've used it for years and love it.

belluzj commented 4 years ago

Thanks for the contribution! I'll review it and release a new version soonish.