Re: flipping text on a path
- Hi Darryl,
If there are only few such arrows, you can just define, within
<defs>...</defs>, paths of straight lines in the right direction.
Then you use them as a path for <textPath>, but without rendering
these paths (no <use..>). This procedure works fine for me.
--- In email@example.com, Darryl Watson <dwatson@...>
> I have a machine-generated SVG document which contains a layer (or
> group) that has an arrow line, which is created with a marker. I
> to render text along the path of the arrow, so I have created aworks,
> <textPath> element which refers to the arrow path. Fine, that
> but my text is backward because I enclose every element in thedocument
> in a group whose sole function is to transform the coordinatesystem to
> cartesian coordinates. X now increases to the right, and Yincreases in
> an upward direction.a
> That makes it easier for me to work with, but text on a path is now
> I can put text elements in the document, and perform a transform
> scale to flip them over oround the X axis, but text on a path ismore
> resistent to this procedure. I have tried gliph-orientation-horizontal
> and vertical and rotate on the <tspan> element as well as the text
> element, but I can't quite seem to get it right.
> Any suggestions appreciated for how to solve this one...