Fix JBIG2 decoding issue #5026

This commit is contained in:
fkaelberer 2014-08-01 08:38:13 +02:00
parent ad2ea78280
commit c03cf20d37

View File

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