-
Notifications
You must be signed in to change notification settings - Fork 96
host on jsDelivr? #139
Comments
This is definitely something we can look into. A couple of questions though:
Thanks! |
|
Also note there are 2 holes in WOFF browser compatibility; IE8 & down (~1%), Android 4.3 & down (1.5%), & Opera Mini (4.7%). I'm not too worried; mobile shouldn't download mobile fonts (though could break layouts), & MicroSoft is aggressively upgrading IE8 users. |
OK! I'll think about it. Another thing I'm considering is that the current WOFFs are generated by FontForge (from both TTFs and OTFs), which doesn't seem to handle WOFF2 at the moment. The one or two WOFF2 conversion tools I've looked at so far only do TTF to WOFF... |
Not sure how they do it; perhaps convert backwards to TTF first? edit: |
I almost forgot this spline point reducer: |
Converting back to TTF seems like the only way, at least for now. Not ideal since I'd want to keep CFF outlines for at least some of the problematic fonts. |
One advantage to jsDelivr: subresource integrity. While I can always generate the hashes myself, jsDelivr demands versioned (or versionable, at least) URLs so that I know a failing hash means something is wrong and not just that there's a new file version. |
The new backend is live. It pulls files directly from npm and github https://github.com/jsdelivr/jsdelivr#usage Example https://cdn.jsdelivr.net/npm/jquery@3.1.1 |
I help at a OSS CDN, jsDelivr, & floated the idea to host more webfonts there. I don't have the time to collate fonts (can't just mirror Google Fonts ;) ), but still want to host fonts there. jsDelivr has 4x+ more POPs than Fastly. jsDelivr has a huge POP network in China, which is missing in Fastly (though Fastly has a POP in my home town of Denver).
Could always use jsDelivr as a mirror; don't need to drop Fastly.
Semi-blocker: WOFF2.
The text was updated successfully, but these errors were encountered: