|
@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {};
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {};
|
|
}
|
|
}
|
|
|
|
|
|
-PDFJS.version = '1.0.268';
|
|
|
|
-PDFJS.build = '7e6cdc7';
|
|
|
|
|
|
+PDFJS.version = '1.0.270';
|
|
|
|
+PDFJS.build = '844bc64';
|
|
|
|
|
|
(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
|
|
@@ -20621,7 +20621,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|
assert(isName(type),
|
|
assert(isName(type),
|
|
'XObject should have a Name subtype');
|
|
'XObject should have a Name subtype');
|
|
|
|
|
|
- if ('Form' == type.name) {
|
|
|
|
|
|
+ if (type.name === 'Form') {
|
|
stateManager.save();
|
|
stateManager.save();
|
|
return self.buildFormXObject(resources, xobj, null,
|
|
return self.buildFormXObject(resources, xobj, null,
|
|
operatorList,
|
|
operatorList,
|
|
@@ -20630,11 +20630,16 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|
stateManager.restore();
|
|
stateManager.restore();
|
|
next(resolve, reject);
|
|
next(resolve, reject);
|
|
}, reject);
|
|
}, reject);
|
|
- } else if ('Image' == type.name) {
|
|
|
|
|
|
+ } else if (type.name === 'Image') {
|
|
self.buildPaintImageXObject(resources, xobj, false,
|
|
self.buildPaintImageXObject(resources, xobj, false,
|
|
operatorList, name, imageCache);
|
|
operatorList, name, imageCache);
|
|
args = [];
|
|
args = [];
|
|
continue;
|
|
continue;
|
|
|
|
+ } else if (type.name === 'PS') {
|
|
|
|
+ // PostScript XObjects are unused when viewing documents.
|
|
|
|
+ // See section 4.7.1 of Adobe's PDF reference.
|
|
|
|
+ info('Ignored XObject subtype PS');
|
|
|
|
+ continue;
|
|
} else {
|
|
} else {
|
|
error('Unhandled XObject subtype ' + type.name);
|
|
error('Unhandled XObject subtype ' + type.name);
|
|
}
|
|
}
|