{"action":"created","issue":{"url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/6809","labels_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/6809/labels{/name}","comments_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/6809/comments","events_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/6809/events","html_url":"https://github.com/FortAwesome/Font-Awesome/issues/6809","id":90355665,"number":6809,"title":"Detecting once fonts have been loaded","user":{"login":"aymanar","id":8080779,"avatar_url":"https://avatars.githubusercontent.com/u/8080779?v=3","gravatar_id":"","url":"https://api.github.com/users/aymanar","html_url":"https://github.com/aymanar","followers_url":"https://api.github.com/users/aymanar/followers","following_url":"https://api.github.com/users/aymanar/following{/other_user}","gists_url":"https://api.github.com/users/aymanar/gists{/gist_id}","starred_url":"https://api.github.com/users/aymanar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aymanar/subscriptions","organizations_url":"https://api.github.com/users/aymanar/orgs","repos_url":"https://api.github.com/users/aymanar/repos","events_url":"https://api.github.com/users/aymanar/events{/privacy}","received_events_url":"https://api.github.com/users/aymanar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-23T11:05:03Z","updated_at":"2015-06-23T11:18:14Z","closed_at":null,"body":"Now that the css is something like this:\r\n\r\n@font-face{\r\n    font-family:fontawesome;src:url(../fonts/fontawesome-webfont.eot);\r\n    src:url(../fonts/fontawesome-webfont.eot) format('embedded-opentype'),\r\n    url(../fonts/fontawesome-webfont.woff) format('woff'),\r\n    url(../fonts/fontawesome-webfont.ttf) format('truetype'),\r\n    url(../fonts/fontawesome-webfont.svg) format('svg');\r\n    font-weight:400;font-style:normal\r\n}\r\n\r\nIs there a way to trigger whenever the font has been loaded? I hate the fact that the fonts are substituted by empty squares until the font has loaded, and so I want to hide them till then.\r\n\r\nThank you\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/comments/114447631","html_url":"https://github.com/FortAwesome/Font-Awesome/issues/6809#issuecomment-114447631","issue_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/6809","id":114447631,"user":{"login":"KOTRET","id":1357504,"avatar_url":"https://avatars.githubusercontent.com/u/1357504?v=3","gravatar_id":"","url":"https://api.github.com/users/KOTRET","html_url":"https://github.com/KOTRET","followers_url":"https://api.github.com/users/KOTRET/followers","following_url":"https://api.github.com/users/KOTRET/following{/other_user}","gists_url":"https://api.github.com/users/KOTRET/gists{/gist_id}","starred_url":"https://api.github.com/users/KOTRET/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KOTRET/subscriptions","organizations_url":"https://api.github.com/users/KOTRET/orgs","repos_url":"https://api.github.com/users/KOTRET/repos","events_url":"https://api.github.com/users/KOTRET/events{/privacy}","received_events_url":"https://api.github.com/users/KOTRET/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T11:18:14Z","updated_at":"2015-06-23T11:18:14Z","body":"you have to do this via javascript. Follow up this post on Stackoverflow: http://stackoverflow.com/questions/12312323/how-to-know-if-a-font-font-face-has-already-been-loaded.\r\n_imho_ bad practice"}}