The year 2020 has started with an interesting tweet by Gabriel Peal, trying to canvas which custom fonts developers use for Kotlin development. Some people in the Android community answered and as you would expect, the answers are varied.

Personally, I have been using Hack for a few years, and I absolutely love it. I use it for my presentations code snippets as well.

Hack font

But one thing Hack doesn't have is ligature support.

Some examples of ligatures

This is where the Ligaturizer project comes handy. It is basically a python script that adds FiraCode ligatures to other fonts that don't have them. They even repackage popular coding fonts, where luckily for me, Hack is included.

Result of using LigaHack (Hack with ligatures) in Android Studio with Kotlin