add ligatures and optimize type [Closes #229]