Browse Source

PDF.js version 1.5.266 - See mozilla/pdf.js@b86610ffdbc7bcdab5456d1537b29800cce703c6

master v1.5.266
Pdf Bot 9 years ago
parent
commit
604cf2f40e
  1. 2
      bower.json
  2. 9
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 9
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.5.264",
"version": "1.5.266",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

9
build/pdf.combined.js

@ -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.5.264';
var pdfjsBuild = 'db46829';
var pdfjsVersion = '1.5.266';
var pdfjsBuild = 'b86610f';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -5374,6 +5374,11 @@ var CFFDict = (function CFFDictClosure() { @@ -5374,6 +5374,11 @@ var CFFDict = (function CFFDictClosure() {
// remove the array wrapping these types of values
if (type === 'num' || type === 'sid' || type === 'offset') {
value = value[0];
// Ignore invalid values (fixes bug 1068432).
if (isNaN(value)) {
warn('Invalid CFFDict value: ' + value + ', for key: ' + key + '.');
return true;
}
}
this.values[key] = value;
return true;

4
build/pdf.js

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {})); @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
// Use strict in our context only - users might not want it
'use strict';
var pdfjsVersion = '1.5.264';
var pdfjsBuild = 'db46829';
var pdfjsVersion = '1.5.266';
var pdfjsBuild = 'b86610f';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?

9
build/pdf.worker.js vendored

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {})); @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
// Use strict in our context only - users might not want it
'use strict';
var pdfjsVersion = '1.5.264';
var pdfjsBuild = 'db46829';
var pdfjsVersion = '1.5.266';
var pdfjsBuild = 'b86610f';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -5374,6 +5374,11 @@ var CFFDict = (function CFFDictClosure() { @@ -5374,6 +5374,11 @@ var CFFDict = (function CFFDictClosure() {
// remove the array wrapping these types of values
if (type === 'num' || type === 'sid' || type === 'offset') {
value = value[0];
// Ignore invalid values (fixes bug 1068432).
if (isNaN(value)) {
warn('Invalid CFFDict value: ' + value + ', for key: ' + key + '.');
return true;
}
}
this.values[key] = value;
return true;

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.5.264",
"version": "1.5.266",
"main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [

Loading…
Cancel
Save