News for hackers. Stuff that matters.
Re:Web Fonts Performance: Making Pretty, Fast by moonboots on Wednesday September 12, 2012 @08:06PM (#4514005)
Google and Typekit released a javascript project called web font loader[1] that allows custom fallback logic. You can add custom code that loads self-hosted fonts if Google is timing out. To generate the fonts on your server, you can download the original fonts[2] and run them through FontSquirrel's Font-Face Generator[3]. This provides some of the optimization benefits that Ilya mentions in his blog post.

[1] https://github.com/typekit/webfontloader [2] http://code.google.com/p/googlefontdirectory/ [3] http://www.fontsquirrel.com/fontface/generator

Re:Web Fonts Performance: Making Pretty, Fast by shimon_e on Wednesday September 12, 2012 @08:12PM (#4514024)
Wow thanks! I'd recommend this as default practice.
Re:Web Fonts Performance: Making Pretty, Fast by alexchamberlain on Thursday September 13, 2012 @02:53AM (#4515083)
Could you not mirror the fonts from Google?
Re:Web Fonts Performance: Making Pretty, Fast by shimon_e on Thursday September 13, 2012 @04:38AM (#4515287)
No as they need 30+ variants of the fonts to support everything right now and Google customizes them on the basis of user agent.

Hopefully in the future it will be a lot more simpler.