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

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

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Sun, 27 Sep 2020 17:42:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-699665203-1601228558-sysbot+gh@w3.org>
@kojiishi Yes, in https://lists.w3.org/Archives/Public/www-style/2020Aug/0006.html we resolved that css-inline-3 would allow the UA to use the font metrics for the sub/super positions. There was also an additional resolution to define the hard-coded values for the cases where the UA is not using font metrics so that we can have interop. Using font metrics is optional because of concerns about back-compat and whether the metrics are reliable; but if the author is providing them explicitly in an @font-face rule, neither of those concerns applies anymore so we should use the author's explicit metrics.

I think it's important for `font-variant-position` and `vertical-align` to agree on where the superscript/subscript baseline is so that superscripts/subscripts are positioned consistently even in cases where `font-variant-position` isn't powerful enough to position them and the author has to use `vertical-align` to do it.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 27 September 2020 17:42:40 UTC

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