Re: [csswg-drafts] [css-inline-3] Define em-top and em-bottom baselines (#5312)

> > I think you mean iTop = HorizAxis.ideo and iBottom = HorizAxis.idtp? What is iCentral
> 
> i* corresponds to ideographic-* defined in https://drafts.csswg.org/css-inline-3/#baseline-types

Thank you, so:
* iTop = ideographic-over
* iBottom = ideographic-under
* iCenter = central

?

`central` is defined as "halfway between the ideographic-under and ideographic-over baselines", so it will never be defined without iTop and iBottom, correct?

> (Please note this is not a metric used for CSS layout. This is just for this particular Canvas API. See https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-fontboundingboxascent )

Thank you, yes, I think we're in sync. `emHeightAscent` and `emHeightDescent`, not `fontBoundingBoxAscent` and `fontBoundingBoxDescent`, correct?

Fonts have horizontal and vertical metrics. Which metrics do we want? Maybe we suggest HTML Canvas to add horizontal and vertical metrics?

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

Received on Tuesday, 28 July 2020 08:43:39 UTC