3 ms·
I'm surprised the US government design system even recommends custom fonts. Surely the native stack would be sufficient?
by dbbk 5y ago
I'm surprised the US government design system even recommends custom fonts. Surely the native stack would be sufficient?
- lelandfe 5y agoWell, it depends. Perhaps they want a multilingual font that looks good? Perhaps they have dyslexia requirements around the characters? Those are both things I would consider if making a design system for the government. That being said, while this site is already extremely fast, they could cut their first paint times by a further 90% by just reducing their font file sizes. Since this is a static page, and we want things really fast for all Americans (99 percentile?), maybe subset characters to what's shown above the fold, base64 encode that subsetted font into the document and load the remaining characters async as a fast follow. Bang, great CLS and ~0s FCP.