{"comment":{"created_at":"2011-10-09T00:53:17Z","body":"Hi Senanami,\r\n\r\nI'm back working on this. I tried to strip things down a little and simplify the example. (google:google)\r\nhttp://manifestami.com/HTML5_Manifesto12/example.php\r\n\r\nThe library is loaded with google.load(\"webfont\", \"1\"); which as you said should load the last version available.\r\n\r\nTo test it, please:\r\n- clear cache\r\n- load page\r\n- > As result there is no text displayed in right hand side of the page (inside the grey rectangle)\r\n- If you press on the grey rectangle, the canvas refresh and the text should now appear using the Allan webfont\r\n\r\nLooking at the log messages on chrome, it seems that the event  [WEBFONT LOAD -> Fonts Active] is fired before the actual font is loaded and this line is logged in the console:\r\n\"Resource interpreted as Font but transferred with MIME type font/woff.\"\r\n\r\nSame behaviour happens if you select another font from the dropdown menu. The text on the rectangle either doesn't show up, or it shows up using the wrong font. If you wait a bit and press on the rectanlge, then it refreshing correctly because by that time the font resource has probably been loaded.\r\n\r\nSo, if the font has just been loaded or maybe in the cache, the text is displayed without problem with the correct font. Otherwise the FONT ACTIVE event seems to be fired too early!\r\n\r\nThanks for your time!\r\nR","updated_at":"2011-10-09T00:53:17Z","url":"https://api.github.com/repos/typekit/webfontloader/issues/comments/2334630","id":2334630,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d6274670216545b734bab54036df86cf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/giraz","id":182140,"login":"giraz"}},"action":"created","issue":{"number":33,"created_at":"2011-07-17T21:22:07Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Hi and thanks for this great library. \r\nI am working on a small site that show off the webfont capabilities:\r\n\r\nUsers can choose among multiple fonts form a dropdown menu but I have a problem using webfont load more than once.\r\n\r\n\r\nIf I call WebFont.load({\tgoogle: {families: [ fontFamilyURL]\t},    more than once in the same page, its events work as expected only for the first time. \r\n\r\nThe second time the font is loaded but the loading events are not fired in the expected order: the loaded and active events are fired before the font resource is actually available! \r\n\r\nThis means I cannot process the new font correctly (ie. check the width of a word) because the app thinks that the font is loaded before it actually is!\r\nI tried a solution where I am running a loop that updates the font but it is not ideal.\r\n\r\nIs there a solution to this? Can Webfont loader be somehow reset to be used more than once? \r\n\r\nThanks\r\nRiccardo","comments":7,"title":"Using Webfont.load more than once: Active event fired before font is loaded","updated_at":"2011-10-09T00:53:17Z","url":"https://api.github.com/repos/typekit/webfontloader/issues/33","id":1238719,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d6274670216545b734bab54036df86cf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/giraz","id":182140,"login":"giraz"},"html_url":"https://github.com/typekit/webfontloader/issues/33","labels":[],"state":"open"},"legacy":{"issue_id":1238719,"comment_id":2334630}}