{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/6921","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/6921/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/6921/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/6921/events","html_url":"https://github.com/edx/edx-platform/pull/6921","id":56879115,"number":6921,"title":"Upgrade PDF.js library from v0.8.1243 -> v1.0.907","user":{"login":"caesar2164","id":3364609,"avatar_url":"https://avatars.githubusercontent.com/u/3364609?v=3","gravatar_id":"","url":"https://api.github.com/users/caesar2164","html_url":"https://github.com/caesar2164","followers_url":"https://api.github.com/users/caesar2164/followers","following_url":"https://api.github.com/users/caesar2164/following{/other_user}","gists_url":"https://api.github.com/users/caesar2164/gists{/gist_id}","starred_url":"https://api.github.com/users/caesar2164/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caesar2164/subscriptions","organizations_url":"https://api.github.com/users/caesar2164/orgs","repos_url":"https://api.github.com/users/caesar2164/repos","events_url":"https://api.github.com/users/caesar2164/events{/privacy}","received_events_url":"https://api.github.com/users/caesar2164/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/edx/edx-platform/labels/community%20manager%20review","name":"community manager review","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-02-06T22:48:49Z","updated_at":"2015-02-20T14:10:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/6921","html_url":"https://github.com/edx/edx-platform/pull/6921","diff_url":"https://github.com/edx/edx-platform/pull/6921.diff","patch_url":"https://github.com/edx/edx-platform/pull/6921.patch"},"body":"@singingwolfboy & @sarina - sorry about the gynormous diff but I just upgraded the PDFJS library and all its locale and camp files.\r\n\r\n**Background:** Currently, edX is using v0.8.1243 (from 2012) of pdf.js which includes various font loading bugs for pdfs with embedded fonts. This PR upgrades the pdf.js library with v1.0.907 which is the most recent stable version of this library.\r\n\r\n**Studio Updates:** None.\r\n\r\n**LMS Updates:** Upgraded files within ```common/static/css/vendor/pdfjs``` and ```common/static/js/vendor/pdfjs``` and also updated ```lms/templates/pdf_viewer.html``` to better load required library files.\r\n\r\n**Testing:** run this branch, go to studio and add a textbook PDF with embedded fonts that are not widely used (here's a good test one: http://giuliogratta.com/files/Albeniz_Tango_Piano.pdf, notice the title and notes)\r\n\r\n\r\nBefore:\r\n![screen shot 2015-02-06 at 3 09 49 pm](https://cloud.githubusercontent.com/assets/3364609/6089075/35001e10-ae12-11e4-9741-5b211d8b4ad0.png)\r\n\r\n\r\nAfter:\r\n![screen shot 2015-02-06 at 3 06 32 pm](https://cloud.githubusercontent.com/assets/3364609/6089056/d21cb696-ae11-11e4-8d0f-fe653bd84d49.png)\r\n"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/75243126","html_url":"https://github.com/edx/edx-platform/pull/6921#issuecomment-75243126","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/6921","id":75243126,"user":{"login":"sarina","id":1985317,"avatar_url":"https://avatars.githubusercontent.com/u/1985317?v=3","gravatar_id":"","url":"https://api.github.com/users/sarina","html_url":"https://github.com/sarina","followers_url":"https://api.github.com/users/sarina/followers","following_url":"https://api.github.com/users/sarina/following{/other_user}","gists_url":"https://api.github.com/users/sarina/gists{/gist_id}","starred_url":"https://api.github.com/users/sarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarina/subscriptions","organizations_url":"https://api.github.com/users/sarina/orgs","repos_url":"https://api.github.com/users/sarina/repos","events_url":"https://api.github.com/users/sarina/events{/privacy}","received_events_url":"https://api.github.com/users/sarina/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T14:10:54Z","updated_at":"2015-02-20T14:10:54Z","body":"@mulby - are you able to validate the event behavior at all? I'm honestly not too sure what that means, I'm not super familiar with how our events work."}}