- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Thu, 21 Jul 2016 18:50:56 +0000
- To: public-svg-issues@w3.org
The "strange behavior" is what you _want_ if you apply a scale transform to a `<textPath>` element. I created it by scaling the `<text>` element. But I do agree that it might sometimes be nice to fit text to a transformed path without transforming the text itself, which is why we should spec the Chrome/Firefox behavior. Note that Edge currently behaves differently: the text glyphs don't get stretched, but they are stretched out along the path, proportional to the scaling factor. Edge: ![Two text-paths, both take up the same horizontal space but the top one has distorted glyphs and the bottom one has spaced-out glyphs](https://cloud.githubusercontent.com/assets/9876129/17034783/6ae1aaf4-4f41-11e6-9a64-3ac7a2422a2c.png) Chrome: ![Two text paths, the top (stretched-out) one looks the same as Edge, the bottom one has regularly sized and spaced glyphs, only taking 2/3 the horizontal width of the top one.](https://cloud.githubusercontent.com/assets/9876129/17034842/a4e8b45e-4f41-11e6-8014-35f608e04295.png) -- GitHub Notification of comment by AmeliaBR Please view or discuss this issue at https://github.com/w3c/svgwg/issues/210#issuecomment-234348105 using your GitHub account
Received on Thursday, 21 July 2016 18:51:11 UTC