Text shaping library