Re: [svgwg] lengthAdjust values just for shrinking

`lengthAdjust=spacing` is essentially an adjustment of `letter-spacing` and `word-spacing`. Adjusting `font-size`is not necessarily what one wants (the `<canvas>` `fill/strokeText`'s `maxWidth` argument is an example of varying `font-size` IIRC.)
Since fonts don't scale linearly, scaling `font-size` is not a great method, and if using that method you'd need to iterate (estimating the new `font-size`.)  Scaling the whole text should fare better if doing that.

-- 
GitHub Notification of comment by fsoder
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/341#issuecomment-324418692 using your GitHub account

Received on Wednesday, 23 August 2017 18:14:58 UTC