Overriding font metrics to fix large-text vertical position

Tobi Reif observes that custom fonts rendered at very large font sizes can sit dramatically differently — even in the same browser, across different operating systems.

The fix relies on a class of CSS properties that live only inside @font-face blocks, known as descriptors. font-display is the popular example; less widely supported ones include ascent-override, descent-override, and line-gap-override. Chrome supports them, which makes them a workable answer to the alignment problem.

The appealing angle, per the post: using them to override the metrics of local fallback fonts so they match the custom font that eventually loads, which results in little-to-no-movement on swap. FOUT is disliked on principle, though it can be tolerated if the swap doesn't shift text around too much.