Shaping ligatures in monospace fonts