There was an outage in Australia/NZ yesterday that caused Typekit-enabled sites to stop loading (http://blog.typekit.com/2012/07/13/details-on-outage-in-australia-and-ne... ). This happens using the standard loading pattern for Typekit. It would be good to offer an asynchronous font loading option. For reference, see http://blog.typekit.com/2012/07/13/details-on-outage-in-australia-and-ne... specifically the second async pattern "Font events asynchronous pattern"

I'm happy to create a patch to add this feature... Implementation advice welcome.

Comments

sreynen’s picture

Seems like a good idea. As far as implementation, this would definitely need to be optional, since not everyone wants un-styled text showing.

We could add an option to the Typekit submodule module, but because we already have one alternative loader in Google Webfont Loader, I'm wondering if we should move to doing loader alternatives via a hook or maybe a ctools plugin. I'll send a note to BTMash and ask what he thinks.

btmash’s picture

Sorry for my late reply into this issue. A hook sounds like a good idea though it might be good to try and spell out to the end user not to use multiple modules that implement such a hook.

afaik, Webfont loader actually does handle loading fonts asynchronously though it would be great if someone wants to test that out :) In which case, we should have typekit fonts and any other fonts that are not being handled by webfont loader to be handled by it when possible.

sreynen’s picture

Status: Active » Postponed (maintainer needs more info)

If we already have a way to load Typekit fonts asynchronously, we may just need to update documentation. jonathan_hunt, can you confirm that meets your needs?

neslee canil pinto’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)