{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/6529","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6529/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6529/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6529/events","html_url":"https://github.com/mozilla/pdf.js/issues/6529","id":111590737,"number":6529,"title":"Safari loads a lot of base64 fonts when rendering, slows down page load","user":{"login":"jakubfiala","id":5719805,"avatar_url":"https://avatars.githubusercontent.com/u/5719805?v=3","gravatar_id":"","url":"https://api.github.com/users/jakubfiala","html_url":"https://github.com/jakubfiala","followers_url":"https://api.github.com/users/jakubfiala/followers","following_url":"https://api.github.com/users/jakubfiala/following{/other_user}","gists_url":"https://api.github.com/users/jakubfiala/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubfiala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubfiala/subscriptions","organizations_url":"https://api.github.com/users/jakubfiala/orgs","repos_url":"https://api.github.com/users/jakubfiala/repos","events_url":"https://api.github.com/users/jakubfiala/events{/privacy}","received_events_url":"https://api.github.com/users/jakubfiala/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-15T10:44:23Z","updated_at":"2015-10-15T17:26:29Z","closed_at":"2015-10-15T17:26:29Z","body":"Hey everyone,\r\n\r\nI have the weirdest problem on Safari:\r\n\r\nUnlike Chrome/FF, when loading any PDF via pdf.js, Safari seems to load a *ludicrous* amount of base64-encoded fonts. Many of them are identical to each other, as seen in the screenshot from Viewer/Safari dev tools below – e.g. the ones that are 1.09kB.\r\n\r\n![screen shot 2015-10-15 at 11 35 30](https://cloud.githubusercontent.com/assets/5719805/10511459/2c75c8dc-7331-11e5-8c80-15b9a9aeb1a5.png)\r\n\r\nNow, Viewer seems OK with this, but I'm working on a web app with some more complex fonts, which seem to take insane amounts of time to load, thus blocking other stuff that needs to load after the PDF renders.\r\n\r\nIs the base64 font loading a Safari-only feature or a bug? Also, why are the fonts getting loaded multiple times?\r\n\r\n*Note: I'm using Safari 9.0 | Chrome 45 | FF 40 on OS X 10.11.*\r\n\r\nThanks!\r\n"}}