Font metric overrides
Limited availability
The ascent-override
, descent-override
, and line-gap-override
descriptors adjust the display of a font declared in an @font-face
statement. This can help make fallback fonts look the same size.
To learn more, see
FontFace: ascentOverride property,
FontFace: descentOverride property,
FontFace: lineGapOverride property,
ascent-override,
descent-override,
line-gap-override at MDN.
Compatibility
- Chrome 87 Released on 2020-11-17
- Chrome Android 87 Released on 2020-11-17
- Edge 87 Released on 2020-11-19
- Firefox 89 Released on 2021-06-01
- Firefox for Android 89 Released on 2021-06-01
- Safari ❌ Search for bugs Search for standards position
- Safari on iOS ❌ Search for bugs Search for standards position
Baseline availability blocked since June 2021 by Safari (41 months)