Skip to content

Commit

Permalink
Merge pull request #5110 from fkaelberer/issue5026
Browse files Browse the repository at this point in the history
Fix JBIG2 decoding issue #5026
  • Loading branch information
yurydelendik committed Aug 1, 2014
2 parents c0cbf5f + c03cf20 commit 6d6e09b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/core/jbig2.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,12 @@ var Jbig2Image = (function Jbig2ImageClosure() {
}
];

// See 6.2.5.7 Decoding the bitmap.
var ReusedContexts = [
0x1CD3, // '00111001101' (template) + '0011' (at),
0x079A, // '001111001101' + '0',
0x00E3, // '001110001' + '1',
0x018B // '011000101' + '1'
0x9B25, // 10011 0110010 0101
0x0795, // 0011 110010 101
0x00E5, // 001 11001 01
0x0195 // 011001 0101
];

var RefinementReusedContexts = [
Expand Down

0 comments on commit 6d6e09b

Please sign in to comment.