W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

Re: [csswg-drafts] @font-face overrides for superscript/subscript metrics (#5518)

From: Koji Ishii via GitHub <sysbot+gh@w3.org>
Date: Wed, 30 Sep 2020 11:46:11 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-701338619-1601466369-sysbot+gh@w3.org>
Thanks for the clarification. So we're discussing three topics IIUC.

**Fixing bogus data in fonts**

I think this should be discussed with #5542. As @plinss pointed out, there are more properties in the font where some fonts have bogus data. Are we going to say it's all authors' responsibility to fix all fonts in their CSS, or is there any reasons where superscript/subscript are different from x-height, cap-height, and all other properties?

**Where this change apply**

Thanks, so IIUC, in https://lists.w3.org/Archives/Public/www-style/2020Aug/0006.html
> RESOLVED: Leave vertical-align super and sub as may use font metrics

but all browsers use a hardcoded formula today. Is this correct?

I don't have our position on this topic yet. IIRC whatwg tried to change `<sup>` and `<sub>` to use `font-variant-position` but they gave it up. We might want to investigate more before reaching to a conclusion.

**Require to use metrics in `vertical-align` if overridden**

I don't have our position on this topic yet either, but just want to confirm, so the proposal is to use authors' metrics if overridden, but we won't provide a way to use the metrics in the fonts? Isn't that against what you want?

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 30 September 2020 11:46:13 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:17 UTC