← Back to release summary

@font-face descriptor advance-override

Category
CSS
Type
Chromium catches up
Status
No longer pursuing (Chrome No longer pursuing)
Intent stage
Removed

Summary

The advance-override descriptor scales all character advances of the font face by the given percentage. It can be used to match text width between two fonts, and hence reduce layout shift caused by web font loading.

Motivation

Web font loading is a major cause of layout shifting, because the same text usually has different widths when using fallback font and web font. By using advance-override in the fallback font face, we can match the text width between the two fonts, and hence reduce the layout shift.

Standards & signals

Ecosystem

Docs: https://bit.ly/39qATQ4

Explainers: https://gist.github.com/xiaochengh/3aae8a97d1b0388c8e701819b63e2c49

View on chromestatus.com