Expanding ligatures in unicode text