Re: [svgwg] Alignment point for text should not depend on “script” (#629)

I agree that this wording has conflated the idea of baselines — and the fact that different scripts have different natural baselines — with the alignment point as used in the SVG algorithms, to mean the point where the start edge of the glyph intersects the relevant baseline. 

In SVG 1, the [`dominant-baseline` property](https://www.w3.org/TR/SVG11/text.html) had a `use-script` value which would have created this script-dependent alignment. But that was dropped in CSS Text 3.

The second paragraph you quote seems to have been adapted from [a SVG Tiny 1.2 definition of baseline](https://www.w3.org/TR/SVGTiny12/text.html#TextFonts).  SVG Tiny didn't support the `dominant-baseline` or `alignment-baseline` properties, but the layout algorithm seems to assume an automatic baseline selection based on script.

Since a lot of the SVG Tiny 1.2 details about text layout were copied over into SVG 2, it probably requires a careful review to make sure that similar ambiguous assumptions aren't incorporated elsewhere.

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

Received on Monday, 20 May 2019 03:08:46 UTC