Browse Source

PDF.js version 1.3.220 - See mozilla/pdf.js@ec066101d821e7e36834f29a0250a1eace773aae

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

2
bower.json

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

16
build/pdf.combined.js

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
'use strict'; 'use strict';
var pdfjsVersion = '1.3.218'; var pdfjsVersion = '1.3.220';
var pdfjsBuild = 'e60fde7'; var pdfjsBuild = 'ec06610';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?
@ -37131,8 +37131,16 @@ var Font = (function FontClosure() {
delete tables['cvt ']; delete tables['cvt '];
this.isOpenType = true; this.isOpenType = true;
} else { } else {
if (!tables.glyf || !tables.loca) { if (!tables.loca) {
error('Required "glyf" or "loca" tables are not found'); error('Required "loca" table is not found');
}
if (!tables.glyf) {
warn('Required "glyf" table is not found -- trying to recover.');
// Note: We use `sanitizeGlyphLocations` to add dummy glyf data below.
tables.glyf = {
tag: 'glyf',
data: new Uint8Array(0),
};
} }
this.isOpenType = false; this.isOpenType = false;
} }

4
build/pdf.js

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

16
build/pdf.worker.js vendored

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
'use strict'; 'use strict';
var pdfjsVersion = '1.3.218'; var pdfjsVersion = '1.3.220';
var pdfjsBuild = 'e60fde7'; var pdfjsBuild = 'ec06610';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?
@ -29300,8 +29300,16 @@ var Font = (function FontClosure() {
delete tables['cvt ']; delete tables['cvt '];
this.isOpenType = true; this.isOpenType = true;
} else { } else {
if (!tables.glyf || !tables.loca) { if (!tables.loca) {
error('Required "glyf" or "loca" tables are not found'); error('Required "loca" table is not found');
}
if (!tables.glyf) {
warn('Required "glyf" table is not found -- trying to recover.');
// Note: We use `sanitizeGlyphLocations` to add dummy glyf data below.
tables.glyf = {
tag: 'glyf',
data: new Uint8Array(0),
};
} }
this.isOpenType = false; this.isOpenType = false;
} }

2
package.json

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

Loading…
Cancel
Save