1. A computer-implemented method comprising: creating a mapping between distances along a path and points on a line based on changes in direction of the path, wherein creating the mapping includes segmenting the path, based on a font size associated with glyphs, wherein the path is represented as interconnected segments, each having a length corresponding to the font size, after the segmenting; composing the glyphs on the line, having a total line length defined in accordance with the mapping, to form a composed line; associating the glyphs with the path in accordance with the mapping and the composed line; and outputting the association of the glyphs with the path for display of the glyphs along the path.