Re: [csswg-drafts] [css-inline-3] About the central baseline (#5177)

I think the existing "text-top", "text-bottom" and "center" should not be used for CJK, but rather use specific baselines "ideo", "idtp" and "ideographic-central" (or "ideo-center"). My reason being that existing implementations that depend on how they were defined as related to font ascent and descent should probably remain, but for CJK we try to get away from such ambiguous practices using Latin metrics or overriding them conditionally by font script.

As to what should happen when composing text in a CJK manner with fonts that lack these metrics, the heuristics would be to try to center a given height within the ideographic embox or within a height that equals the point size. For Latin scripts, the cap height is such a metric. For Thai, perhaps a derived cap height can be computed to serve the same purpose, or use a different metric that achieves the same (CJK oriented) balance in the mixed-script line.

-- 
GitHub Notification of comment by macnmm
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5177#issuecomment-644869244 using your GitHub account

Received on Tuesday, 16 June 2020 16:23:51 UTC