Google AI ModeOct 12, 2026
Web performance optimization for fonts is typically handled by Frontend Engineers, Web Performance Engineers , or Full-Stack Developers . If your team uses specific platforms, it may also be automated by performance plugins or specialized agency partners.
Layout shifts (Cumulative Layout Shift or CLS ) happen during font loading when the browser switches from a system fallback font to your custom web font. Because the two fonts have different dimensions, the text reflows and pushes surrounding content around.
To eliminate font-driven CLS, you can implement the following engineering strategies:
The most effective modern solution is adjusting the dimensions of your system fallback font so it takes up the exact same visual footprint as your custom web font. You can use descriptors inside the @font-face rule of your fallback font:
size-adjust: Scales the glyph outlines.ascent-override: Adjusts the height above the baseline.