{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/6304","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6304/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6304/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6304/events","html_url":"https://github.com/mozilla/pdf.js/pull/6304","id":98817481,"number":6304,"title":"fix handling of flags 1-3 in coons shading","user":{"login":"CodingFabian","id":176132,"avatar_url":"https://avatars.githubusercontent.com/u/176132?v=3","gravatar_id":"","url":"https://api.github.com/users/CodingFabian","html_url":"https://github.com/CodingFabian","followers_url":"https://api.github.com/users/CodingFabian/followers","following_url":"https://api.github.com/users/CodingFabian/following{/other_user}","gists_url":"https://api.github.com/users/CodingFabian/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingFabian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingFabian/subscriptions","organizations_url":"https://api.github.com/users/CodingFabian/orgs","repos_url":"https://api.github.com/users/CodingFabian/repos","events_url":"https://api.github.com/users/CodingFabian/events{/privacy}","received_events_url":"https://api.github.com/users/CodingFabian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T19:04:41Z","updated_at":"2015-08-03T19:06:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/pdf.js/pulls/6304","html_url":"https://github.com/mozilla/pdf.js/pull/6304","diff_url":"https://github.com/mozilla/pdf.js/pull/6304.diff","patch_url":"https://github.com/mozilla/pdf.js/pull/6304.patch"},"body":"Short story: somebody got lost in two different indices. pi is an index in the stream and is explained on page 198 of the 32000-spec (however 1-based there), and ps is an index to something in PDF.js. I used the code from flag 0 (which works) to understand which is which. It is also important to understand that for flags 1,2 and 3, the stream is always assigned to the same coordinates and colors. What changes is which \"old\" coordinates and colors are assigned to what is \"missing\" in the stream. This is why for these flags, the code is identical except for the assignments in the first \"row\"."},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/127373143","html_url":"https://github.com/mozilla/pdf.js/pull/6304#issuecomment-127373143","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6304","id":127373143,"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-08-03T19:06:59Z","updated_at":"2015-08-03T19:06:59Z","body":"/botio test"}}