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

The SVG Working Group just discussed `Character counting on dx/dy properties`, and agreed to the following:

* `RESOLUTION: Complex script should be rotated and moved together`

<details><summary>The full IRC log of that discussion</summary>
&lt;krit> topic: Character counting on dx/dy properties<br>
&lt;krit> GitHub: https://github.com/w3c/svgwg/issues/537<br>
&lt;krit> chris: Correct behavior is what Edge does I think<br>
&lt;krit> chris: (describes Edge behavior as written in the issue)<br>
&lt;krit> chris: This is using CSS3 Text typographic characters.<br>
&lt;krit> chris: are all implementations agreeing to do what edge does.<br>
&lt;krit> Tavmjong: that requires that you have a library or some way of knowing what clusters go together<br>
&lt;krit> Tavmjong: So ppl with different libraries should have the same behavior.<br>
&lt;krit> Tavmjong: for predictability, using unicode characters might be more predictable.<br>
&lt;krit> chris: kind of<br>
&lt;krit> AmeliaBR: it is more author friendly to use typographic character but adds more complication to implementation<br>
&lt;krit> Tavmjong: I don't know of a library that would be able to do this right now.<br>
&lt;krit> AmeliaBR: many rendering implementations that need 3rd-party libraries are in the same position.<br>
&lt;krit> Tavmjong: we use Tango.<br>
&lt;krit> chris: I think Tango supports it. At least Freetype does that.<br>
&lt;AmeliaBR> s/Tango/Pango/<br>
&lt;chris> https://mail.gnome.org/archives/gtk-app-devel-list/2008-May/msg00083.html<br>
&lt;krit> Tavmjong: my guess is what Pango does is relying on the information in the font<br>
&lt;krit> chris: hm, not so sure if that is the case.<br>
&lt;chris> suggest asking Behdad<br>
&lt;krit> Tavmjong: I am not convinced of the Edge behavior right now. I don't think we can implement it right now.<br>
&lt;krit> Tavmjong: My testing showed that everyone was using unicode points.<br>
&lt;krit> AmeliaBR: Based on my browser testing, Edge is the only one using glyph clusters, FF uses unicode character but lays them out by glyphs, Blink and WebKit separate accents from their base characters.<br>
&lt;krit> RESOLUTION: Complex script should be rotated and moved together<br>
&lt;krit> Tavmjong: the question is about counting now.<br>
&lt;krit> krit: do you think you can check and get back to the WG with your implementation results?<br>
&lt;krit> Tavmjong: I think I can get some data.<br>
&lt;chris> I think Harfbuzz does the UAX29 segmentation https://lists.freedesktop.org/archives/harfbuzz/2015-September/005083.html<br>
&lt;krit> AmeliaBR: maybe ping a few other ppl on the issue for feasibility. I think FF uses Pango on some platforms too.<br>
&lt;krit> Tavmjong: that would be a changed behavior to SVG 1.1<br>
&lt;krit> chris: yes it would<br>
&lt;krit> AmeliaBR: we have inconsistency anyway.<br>
&lt;krit> Tavmjong: I'll look into it by next week<br>
&lt;krit> AmeliaBR:  we already has resolutions on the simpler cases<br>
</details>


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

Received on Monday, 17 September 2018 20:13:02 UTC