So, using rawgit.com and a dedicated 'cdn' repo on github, I can now refer to the Charis with 1 year browser cache times and utilize it from a CSS/HTML generator with just two lines of :

@import url('cdn.rawgit.com/tim-janik/cdn/a');

html { font-family: "CharisSILW", serif; }

No costs involved and no user tracking by fonts.google either ;-)

Follow

It turns out that rawgit.com/ is about to shutdown (being just a hobby project after all), but jsDelivr stepped up to provide the same functionality now.

So the previously posted snippet for using the CharisSIL5 webfont now becomes:

@import url('cdn.jsdelivr.net/gh/tim-janik/');

html { font-family: "CharisSILW", serif; }

The behind jsDelivr is cloudflare and the content is served with a Cache-Control max-age of 365 days.

Sign in to participate in the conversation
Mastodon

One of the first Mastodon instances, there is no specific topic we're into, just enjoy your time!