Re: [svgwg] Character counting in text 'x', 'y', 'dx', 'dy', and 'rotate' attributes.

I'm going to agree with @r12a here. Unicode code points are the right way to go for this particular application. The reason is that the coordinate-character pairing _must_ remain stable across Unicode revisions, otherwise the SVG graphic will break over time, and ECGs might be corrected in the future as they are a user-facing construct in which correctness is more important than stability. Using codepoints will also be less likely to break existing SVG graphics, since it's backwards-compatible for any content that isn't using higher-plane codepoints.

You _can_ allow the UA to ignore coordinates specified on any combining characters within an ECG or typographic grapheme cluster, whichever is greater. This limits what nonsense the UA needs to handle, but does not break the pairing counts.

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

Received on Monday, 29 October 2018 12:40:03 UTC