Re: [svgwg] Rotating text

I find the current text (from SVG 1.1) to be overly complicated. I propose the following replacement text which should also address the issues here:

The attribute 'x', 'y', 'dx', 'dy', and 'rotate' are applied as follows:

* The n-th value maps to the n-th input character (i.e. Unicode code point) in the text (after white-space collapse). Bidirectional text re-ordering does not change this mapping (values are attached to characters and move with them as they are reordered). 
* All glyphs that belong to a typographic character are transformed as a group using the values from the first input character in the typographic character.
* For input characters in a typographic character other than the first: 'x' and 'y' values are ignored; 'dx' and 'dy' values are summed and applied to following typographic characters; the last 'rotate' value is applied to following typographic characters (if not over-ridden by a child element).


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

Received on Monday, 20 August 2018 19:22:49 UTC