Closed boogah closed 9 months ago
sounds great-- the OFL allows us to do this conversion, right? As long as that's true this sounds like a good move, especially if we're encouraging people to self-host since that sometimes means they pay their own bandwidth bills. Would definitely accept a PR!
It seems to be permitted under the OFL, yes. 😅
I'll carefully convert them, modify the CSS, and get the PR in.
While spinning up a Postmarks site and customizing the CSS, I noticed that the TrueType version of the Public Sans web fonts are being used. I understand that this was likely done because the variable versions are only publicly available for download as TrueType files.
Fortunately, WOFF2 supports variable fonts — you just have to compress them using Google's library.
I did just that and more than halved the file sizes of each:
Allegedly, 95% of folks use browsers that support WOFF2, so it's safe to use it instead of TTF. If you'd like, I can get a PR in that changes the TTFs over to their WOFF2 counterparts.