How do I properly expand and merge text on a path?