2 ms·
Yes, we were surprised too. 25! Wait, '25'? We don't have 25 fonts... Part of that is due to a bug we hadn't noticed in the CSS versioning code & have fixed. T
by gwern 4y ago
Yes, we were surprised too. 25! Wait, '25'? We don't have 25 fonts... Part of that is due to a bug we hadn't noticed in the CSS versioning code & have fixed.
The actual number is more like 16 fonts (~500kb total), excluding the decorative dropcaps which are only 4kb each. This is one of the largest & most complex pages on gwern.net (even after splitting out much of it to gwern.net/gpt-3-nonfiction ), so, it pulls down pretty much every font. (Even the backup fonts, because of the emoji.)
As for why we use those fonts, well, it's not like we didn't consider using just system fonts, but you run into problems as soon as you have any ambitions: https://gwern.net/design#webfonts https://gwern.net/design#webfonts