Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Umm...font loading is blocking. Not in a bytes transferred way, but in terms of user experience. Text disappearing for a font to load is not a good experience.

Unless the website is an art piece, portfolio, or something similar, where the typographic design actually matters, I'd say the system fonts are a better choice.



Umm...like I pointed out, it doesn't have to be as we now have "font-display" which provides multiple strategies for loading (or not loading) web fonts.

MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/...

Demo: https://font-display.glitch.me/

More info, pro/cons: https://www.smashingmagazine.com/2021/05/reduce-font-loading...

And there is even more on the way: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/...

As to the "better or not", read my previous comment(s).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: