-
Notifications
You must be signed in to change notification settings - Fork 756
Closed
Description
In #4792 we resolved to accept @font-face descriptors for overriding the ascent/descent metrics. In #5225 @litherum suggested also adding metrics for superscripts and subscripts.
The proposal then would be to add:
superscript-shift-override, affectingvertical-align: superandfont-variant-positionsynthesissubscript-shift-override, affectingvertical-align: superandfont-variant-positionsynthesissuperscript-size-override, affectingfont-variant-positionsynthesis (and maybe some futuresuperkeyword forfont-size, if we end up going there)subscript-size-override, affectingfont-variant-positionsynthesis (and maybe some futuresubkeyword forfont-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.