homeabout kottke.orgarchives + tags

How Typekit serves fonts

posted by Jason Kottke   Sep 09, 2009

Jeff Veen has a look at how Typekit protects fonts served through the service.

To that end, our Javascript is minified and the fonts themselves are represented as Base64 encoded strings. You may see right through this, but the vast majority of web users wouldn’t know what to make of it.

Those Base64 encoded strings are then placed right into the CSS file. And even better than that, the fonts are split up into multiple files and recombined using the CSS font stack. Pretty clever stuff.

We Work Remotely