jquery / jquery-wp-content

WordPress themes and plugins for the jQuery sites
GNU General Public License v2.0
253 stars 169 forks source link

jquery: switch font to self-hosted Cairo #451

Closed timmywil closed 8 months ago

timmywil commented 9 months ago

Fixes gh-446

Krinkle commented 9 months ago

@timmywil Can you mention somewhere the origin of the woff file? This make it easier to verify the source of the binary file in the future.

Perhaps also add a license file in the Cairo subdirectory, which would include the copyright attribution statement (assuming the source has one). Afaik the OFL is similar to MIT and CC-BY licenses, in so far that it allows free distribution so long as you attribute the author. Right now, the repo doesn't.

timmywil commented 9 months ago

File size comparisons

Font ttf woff woff2
Cairo-Bold 93kb 48kb 36kb
Cairo-Regular 93kb 47kb 35kb
FontAwesome 54kb 29kb 24kb

So, a more significant difference from ttf to woff and a relatively minor difference for woff2, but I'll include it now that I have it.

Edit: I went ahead and converted a fontawesome woff2. See above for comparisons.