Browse Source

PDF.js version 1.5.192 - See mozilla/pdf.js@f13119f237a3f021b313bf106f2e58df004188f1

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

2
bower.json

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

40
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.5.190'; var pdfjsVersion = '1.5.192';
var pdfjsBuild = 'ee4d8ef'; var pdfjsBuild = 'f13119f';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?
@ -39900,28 +39900,26 @@ var WorkerTransport = (function WorkerTransportClosure() {
case 'Font': case 'Font':
var exportedData = data[2]; var exportedData = data[2];
var font;
if ('error' in exportedData) { if ('error' in exportedData) {
var error = exportedData.error; var exportedError = exportedData.error;
warn('Error during font loading: ' + error); warn('Error during font loading: ' + exportedError);
this.commonObjs.resolve(id, error); this.commonObjs.resolve(id, exportedError);
break; break;
} else {
var fontRegistry = null;
if (getDefaultSetting('pdfBug') && globalScope.FontInspector &&
globalScope['FontInspector'].enabled) {
fontRegistry = {
registerFont: function (font, url) {
globalScope['FontInspector'].fontAdded(font, url);
}
};
}
font = new FontFaceObject(exportedData, {
isEvalSuported: getDefaultSetting('isEvalSupported'),
disableFontFace: getDefaultSetting('disableFontFace'),
fontRegistry: fontRegistry
});
} }
var fontRegistry = null;
if (getDefaultSetting('pdfBug') && globalScope.FontInspector &&
globalScope['FontInspector'].enabled) {
fontRegistry = {
registerFont: function (font, url) {
globalScope['FontInspector'].fontAdded(font, url);
}
};
}
var font = new FontFaceObject(exportedData, {
isEvalSuported: getDefaultSetting('isEvalSupported'),
disableFontFace: getDefaultSetting('disableFontFace'),
fontRegistry: fontRegistry
});
this.fontLoader.bind( this.fontLoader.bind(
[font], [font],

40
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.5.190'; var pdfjsVersion = '1.5.192';
var pdfjsBuild = 'ee4d8ef'; var pdfjsBuild = 'f13119f';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?
@ -10006,28 +10006,26 @@ var WorkerTransport = (function WorkerTransportClosure() {
case 'Font': case 'Font':
var exportedData = data[2]; var exportedData = data[2];
var font;
if ('error' in exportedData) { if ('error' in exportedData) {
var error = exportedData.error; var exportedError = exportedData.error;
warn('Error during font loading: ' + error); warn('Error during font loading: ' + exportedError);
this.commonObjs.resolve(id, error); this.commonObjs.resolve(id, exportedError);
break; break;
} else {
var fontRegistry = null;
if (getDefaultSetting('pdfBug') && globalScope.FontInspector &&
globalScope['FontInspector'].enabled) {
fontRegistry = {
registerFont: function (font, url) {
globalScope['FontInspector'].fontAdded(font, url);
}
};
}
font = new FontFaceObject(exportedData, {
isEvalSuported: getDefaultSetting('isEvalSupported'),
disableFontFace: getDefaultSetting('disableFontFace'),
fontRegistry: fontRegistry
});
} }
var fontRegistry = null;
if (getDefaultSetting('pdfBug') && globalScope.FontInspector &&
globalScope['FontInspector'].enabled) {
fontRegistry = {
registerFont: function (font, url) {
globalScope['FontInspector'].fontAdded(font, url);
}
};
}
var font = new FontFaceObject(exportedData, {
isEvalSuported: getDefaultSetting('isEvalSupported'),
disableFontFace: getDefaultSetting('disableFontFace'),
fontRegistry: fontRegistry
});
this.fontLoader.bind( this.fontLoader.bind(
[font], [font],

4
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.5.190'; var pdfjsVersion = '1.5.192';
var pdfjsBuild = 'ee4d8ef'; var pdfjsBuild = 'f13119f';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.5.190", "version": "1.5.192",
"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