[Pkg-javascript-commits] [pdf.js] 61/246: Fix JBIG2 decoding issue #5026
David Prévot
taffit at moszumanska.debian.org
Sun Sep 7 15:36:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit c03cf20d371e67ba6dfa222dca15abd552b52e57
Author: fkaelberer <l_l at gmx-topmail.de>
Date: Fri Aug 1 08:38:13 2014 +0200
Fix JBIG2 decoding issue #5026
---
src/core/jbig2.js | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/core/jbig2.js b/src/core/jbig2.js
index e4ae7c7..2fa7ef1 100755
--- a/src/core/jbig2.js
+++ b/src/core/jbig2.js
@@ -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 = [
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list