How do I make the text on a path (see screenshot) extend so that it follows the entire textPath?
I have tried using the method attribute value stretch but it doesn’t work like I expect – it doesn’t stretch the text along the path.
Is there a way to make this work in all browsers?
The way to spread out the text over the entire textPath is to use the
textLengthattribute. Also see this other question for how to compute a good value fortextLength. Here’s how to do it:Viewable example: http://jsfiddle.net/zkZ2n/
Here’s the bugreport for Firefox not supporting
textLength: https://bugzilla.mozilla.org/show_bug.cgi?id=569722