|
|
|
@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
|
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
|
'use strict'; |
|
|
|
|
|
|
|
|
|
var pdfjsVersion = '1.4.51'; |
|
|
|
|
var pdfjsBuild = '03f12a1'; |
|
|
|
|
var pdfjsVersion = '1.4.53'; |
|
|
|
|
var pdfjsBuild = '33b57d7'; |
|
|
|
|
|
|
|
|
|
var pdfjsFilePath = |
|
|
|
|
typeof document !== 'undefined' && document.currentScript ? |
|
|
|
@ -45011,17 +45011,19 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
@@ -45011,17 +45011,19 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|
|
|
|
processed[resources.objId] = true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var nodes = [resources]; |
|
|
|
|
var nodes = [resources], xref = this.xref; |
|
|
|
|
while (nodes.length) { |
|
|
|
|
var key; |
|
|
|
|
var key, i, ii; |
|
|
|
|
var node = nodes.shift(); |
|
|
|
|
// First check the current resources for blend modes.
|
|
|
|
|
var graphicStates = node.get('ExtGState'); |
|
|
|
|
if (isDict(graphicStates)) { |
|
|
|
|
graphicStates = graphicStates.getAll(); |
|
|
|
|
for (key in graphicStates) { |
|
|
|
|
var graphicState = graphicStates[key]; |
|
|
|
|
var bm = graphicState['BM']; |
|
|
|
|
var graphicStatesKeys = graphicStates.getKeys(); |
|
|
|
|
for (i = 0, ii = graphicStatesKeys.length; i < ii; i++) { |
|
|
|
|
key = graphicStatesKeys[i]; |
|
|
|
|
|
|
|
|
|
var graphicState = graphicStates.get(key); |
|
|
|
|
var bm = graphicState.get('BM'); |
|
|
|
|
if (isName(bm) && bm.name !== 'Normal') { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
@ -45032,9 +45034,20 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
@@ -45032,9 +45034,20 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|
|
|
|
if (!isDict(xObjects)) { |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
xObjects = xObjects.getAll(); |
|
|
|
|
for (key in xObjects) { |
|
|
|
|
var xObject = xObjects[key]; |
|
|
|
|
var xObjectsKeys = xObjects.getKeys(); |
|
|
|
|
for (i = 0, ii = xObjectsKeys.length; i < ii; i++) { |
|
|
|
|
key = xObjectsKeys[i]; |
|
|
|
|
|
|
|
|
|
var xObject = xObjects.getRaw(key); |
|
|
|
|
if (isRef(xObject)) { |
|
|
|
|
if (processed[xObject.toString()]) { |
|
|
|
|
// The XObject has already been processed, and by avoiding a
|
|
|
|
|
// redundant `xref.fetch` we can *significantly* reduce the load
|
|
|
|
|
// time for badly generated PDF files (fixes issue6961.pdf).
|
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
xObject = xref.fetch(xObject); |
|
|
|
|
} |
|
|
|
|
if (!isStream(xObject)) { |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|