How to confine text in multiple lines on a path?