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

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

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 Sep 2020 18:24:43 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-702981119-1600280681-sysbot+gh@w3.org>
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== @font-face overrides for superscript/subscript metrics ==
In https://github.com/w3c/csswg-drafts/issues/4792 we resolved to accept @font-face descriptors for overriding the ascent/descent metrics. In https://github.com/w3c/csswg-drafts/issues/5225 @litherum suggested also adding metrics for superscripts and subscripts.

The proposal then would be to add:
- `superscript-shift-override`, affecting `vertical-align: super` and `font-variant-position` synthesis
- `subscript-shift-override, affecting `vertical-align: super` and `font-variant-position` synthesis
- `superscript-size-override`, affecting `font-variant-position` synthesis (and maybe some future `super` keyword for `font-size`, if we end up going there)
- `subscript-size-override, affecting  `font-variant-position` synthesis (and maybe some future `sub` keyword for `font-size`, if we end up going there)

See https://www.w3.org/TR/css-fonts-4/#font-variant-position-prop for an illustration of how these metrics are used for superscript and subscript glyph synthesis.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5518 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 16 September 2020 18:24:45 UTC

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