{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/6551","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6551/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6551/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6551/events","html_url":"https://github.com/mozilla/pdf.js/pull/6551","id":112704439,"number":6551,"title":"[api-minor] Enables subpixel anti-aliasing for most of the content.","user":{"login":"yurydelendik","id":1523410,"avatar_url":"https://avatars.githubusercontent.com/u/1523410?v=3","gravatar_id":"","url":"https://api.github.com/users/yurydelendik","html_url":"https://github.com/yurydelendik","followers_url":"https://api.github.com/users/yurydelendik/followers","following_url":"https://api.github.com/users/yurydelendik/following{/other_user}","gists_url":"https://api.github.com/users/yurydelendik/gists{/gist_id}","starred_url":"https://api.github.com/users/yurydelendik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurydelendik/subscriptions","organizations_url":"https://api.github.com/users/yurydelendik/orgs","repos_url":"https://api.github.com/users/yurydelendik/repos","events_url":"https://api.github.com/users/yurydelendik/events{/privacy}","received_events_url":"https://api.github.com/users/yurydelendik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/1-core","name":"1-core","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-10-22T00:17:20Z","updated_at":"2015-10-24T13:45:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/pdf.js/pulls/6551","html_url":"https://github.com/mozilla/pdf.js/pull/6551","diff_url":"https://github.com/mozilla/pdf.js/pull/6551.diff","patch_url":"https://github.com/mozilla/pdf.js/pull/6551.patch"},"body":"The existing mozOpaque logic does not work. Allowing subpixel aa by default, for special blend modes temporary canvas will be created (thus delaying output). The latter requires more memory, it is a trade-off in favor of having a better text output for majority content.\r\n\r\nInitially canvas will be created hidden (to hide black flickering), however after first draw callback it will be shown. (Alternative was fill it white before render command, however it will break existing custom solutions)\r\n\r\nI noticed that CachedCanvases are broken (global cache can be cleared in the middle of other page rendering) -- added local caches instead."},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/150813111","html_url":"https://github.com/mozilla/pdf.js/pull/6551#issuecomment-150813111","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6551","id":150813111,"user":{"login":"yurydelendik","id":1523410,"avatar_url":"https://avatars.githubusercontent.com/u/1523410?v=3","gravatar_id":"","url":"https://api.github.com/users/yurydelendik","html_url":"https://github.com/yurydelendik","followers_url":"https://api.github.com/users/yurydelendik/followers","following_url":"https://api.github.com/users/yurydelendik/following{/other_user}","gists_url":"https://api.github.com/users/yurydelendik/gists{/gist_id}","starred_url":"https://api.github.com/users/yurydelendik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurydelendik/subscriptions","organizations_url":"https://api.github.com/users/yurydelendik/orgs","repos_url":"https://api.github.com/users/yurydelendik/repos","events_url":"https://api.github.com/users/yurydelendik/events{/privacy}","received_events_url":"https://api.github.com/users/yurydelendik/received_events","type":"User","site_admin":false},"created_at":"2015-10-24T13:45:06Z","updated_at":"2015-10-24T13:45:06Z","body":"Correct."}}