Convert text to path