{"action":"created","issue":{"url":"https://api.github.com/repos/Valve/fingerprintjs2/issues/303","repository_url":"https://api.github.com/repos/Valve/fingerprintjs2","labels_url":"https://api.github.com/repos/Valve/fingerprintjs2/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/Valve/fingerprintjs2/issues/303/comments","events_url":"https://api.github.com/repos/Valve/fingerprintjs2/issues/303/events","html_url":"https://github.com/Valve/fingerprintjs2/issues/303","id":300485381,"number":303,"title":"function \"isFontAvailable\" is not working properly.","user":{"login":"otanim","id":7108843,"avatar_url":"https://avatars2.githubusercontent.com/u/7108843?v=4","gravatar_id":"","url":"https://api.github.com/users/otanim","html_url":"https://github.com/otanim","followers_url":"https://api.github.com/users/otanim/followers","following_url":"https://api.github.com/users/otanim/following{/other_user}","gists_url":"https://api.github.com/users/otanim/gists{/gist_id}","starred_url":"https://api.github.com/users/otanim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otanim/subscriptions","organizations_url":"https://api.github.com/users/otanim/orgs","repos_url":"https://api.github.com/users/otanim/repos","events_url":"https://api.github.com/users/otanim/events{/privacy}","received_events_url":"https://api.github.com/users/otanim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-27T03:56:47Z","updated_at":"2018-02-27T15:10:29Z","closed_at":"2018-02-27T15:10:29Z","author_association":"CONTRIBUTOR","body":"Hi @Valve,\r\nIt appears that in my case **fingerprintjs2**  returned different hashes, after doing comparisons of `components` I found that the issue was in `js_fonts` component, in some random cases \"Segoe UI\" font name was included, in other cases it's not.\r\n\r\nI'm sure that it should be somehow related to:\r\n```\r\n(fontSpans[i].offsetWidth !== defaultWidth[baseFonts[i]] || fontSpans[i].offsetHeight !== defaultHeight[baseFonts[i]])\r\n```\r\nof `isFontAvailable` function.\r\n\r\n**OS**: Ubuntu 16.\\*,\r\n**WebPack**: v1.\\*,\r\n**FrameWork**: React.js."},"comment":{"url":"https://api.github.com/repos/Valve/fingerprintjs2/issues/comments/368909866","html_url":"https://github.com/Valve/fingerprintjs2/issues/303#issuecomment-368909866","issue_url":"https://api.github.com/repos/Valve/fingerprintjs2/issues/303","id":368909866,"user":{"login":"jonashaag","id":175722,"avatar_url":"https://avatars1.githubusercontent.com/u/175722?v=4","gravatar_id":"","url":"https://api.github.com/users/jonashaag","html_url":"https://github.com/jonashaag","followers_url":"https://api.github.com/users/jonashaag/followers","following_url":"https://api.github.com/users/jonashaag/following{/other_user}","gists_url":"https://api.github.com/users/jonashaag/gists{/gist_id}","starred_url":"https://api.github.com/users/jonashaag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonashaag/subscriptions","organizations_url":"https://api.github.com/users/jonashaag/orgs","repos_url":"https://api.github.com/users/jonashaag/repos","events_url":"https://api.github.com/users/jonashaag/events{/privacy}","received_events_url":"https://api.github.com/users/jonashaag/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T15:10:29Z","updated_at":"2018-02-27T15:10:29Z","author_association":"COLLABORATOR","body":"I don't think this should be solved in fingerprintjs2 then. Maybe you could add a note to the README that you should be running fingerprinting after load then?\r\n\r\n(You should really be running ALL JS after load...)"}}
{"actor":{"display_login":"jonashaag"}}