Open Findus23 opened 3 years ago
Most fonts are already available as woff2 elsewhere, e.g. https://github.com/naturalcrit/homebrewery/tree/master/client/homebrew/phbStyle/fonts/v3 . Is there still value in including them here?
I'm also converting the fonts to woff2 in my project, but I think it would be nice if they would be provided here too so beginners wouldn't accidentally ship too large files to their users. But it's not that important and optional.
@jonathonf, yes, indeed it is, because your link is dead now :-)
@prantlf In case you need the woff2-files and can't run woff2_compress yourself, you should find them here in my project: https://github.com/Findus23/cr-search/tree/master/web/fonts
Oh, thanks for the info, @Findus23! I see that you also wanted the better compressed woff2
fonts files. I tried to generate them automatically in the meanwhile and put them to the NPM module solbera-dnd-fonts.
I assume a lot of people use these fonts on websites (by the fact that a default CSS is provided).
Most modern browsers support the woff2 format (https://caniuse.com/woff2) and it can compress the files by a lot (e.g. 27kb instead of 77kb for Bookinsanity.otf) losslessly, making websites load faster.
This could be done with something like
after installing e.g.
woff2
on Debian (see https://github.com/google/woff2).If you would like, I could create a Pull Request