|
|
@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.0.306'; |
|
|
|
PDFJS.version = '1.0.308'; |
|
|
|
PDFJS.build = '2da1942'; |
|
|
|
PDFJS.build = 'fc85cfd'; |
|
|
|
|
|
|
|
|
|
|
|
(function pdfjsWrapper() { |
|
|
|
(function pdfjsWrapper() { |
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
@ -9438,9 +9438,10 @@ var XRef = (function XRefClosure() { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
xrefEntry = this.fetchCompressed(xrefEntry, suppressEncryption); |
|
|
|
xrefEntry = this.fetchCompressed(xrefEntry, suppressEncryption); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (isDict(xrefEntry)){ |
|
|
|
if (isDict(xrefEntry)) { |
|
|
|
|
|
|
|
xrefEntry.objId = 'R' + ref.num + '.' + ref.gen; |
|
|
|
xrefEntry.objId = 'R' + ref.num + '.' + ref.gen; |
|
|
|
|
|
|
|
} else if (isStream(xrefEntry)) { |
|
|
|
|
|
|
|
xrefEntry.dict.objId = 'R' + ref.num + '.' + ref.gen; |
|
|
|
} |
|
|
|
} |
|
|
|
return xrefEntry; |
|
|
|
return xrefEntry; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -20092,6 +20093,13 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { |
|
|
|
if (!isStream(xObject)) { |
|
|
|
if (!isStream(xObject)) { |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (xObject.dict.objId) { |
|
|
|
|
|
|
|
if (processed[xObject.dict.objId]) { |
|
|
|
|
|
|
|
// stream has objId and is processed already
|
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
processed[xObject.dict.objId] = true; |
|
|
|
|
|
|
|
} |
|
|
|
var xResources = xObject.dict.get('Resources'); |
|
|
|
var xResources = xObject.dict.get('Resources'); |
|
|
|
// Checking objId to detect an infinite loop.
|
|
|
|
// Checking objId to detect an infinite loop.
|
|
|
|
if (isDict(xResources) && |
|
|
|
if (isDict(xResources) && |
|
|
|