Browse Source

PDF.js version 1.4.59 - See mozilla/pdf.js@6133a993a95918219b61753461ea1a225f4be506

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

2
bower.json

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

10
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.4.57'; var pdfjsVersion = '1.4.59';
var pdfjsBuild = '72c05af'; var pdfjsBuild = '6133a99';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?
@ -46960,13 +46960,13 @@ var TranslatedFont = (function TranslatedFontClosure() {
var translatedFont = this.font; var translatedFont = this.font;
var loadCharProcsPromise = Promise.resolve(); var loadCharProcsPromise = Promise.resolve();
var charProcs = this.dict.get('CharProcs').getAll(); var charProcs = this.dict.get('CharProcs');
var fontResources = this.dict.get('Resources') || resources; var fontResources = this.dict.get('Resources') || resources;
var charProcKeys = Object.keys(charProcs); var charProcKeys = charProcs.getKeys();
var charProcOperatorList = Object.create(null); var charProcOperatorList = Object.create(null);
for (var i = 0, n = charProcKeys.length; i < n; ++i) { for (var i = 0, n = charProcKeys.length; i < n; ++i) {
loadCharProcsPromise = loadCharProcsPromise.then(function (key) { loadCharProcsPromise = loadCharProcsPromise.then(function (key) {
var glyphStream = charProcs[key]; var glyphStream = charProcs.get(key);
var operatorList = new OperatorList(); var operatorList = new OperatorList();
return evaluator.getOperatorList(glyphStream, task, fontResources, return evaluator.getOperatorList(glyphStream, task, fontResources,
operatorList).then(function () { operatorList).then(function () {

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.4.57'; var pdfjsVersion = '1.4.59';
var pdfjsBuild = '72c05af'; var pdfjsBuild = '6133a99';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?

10
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.4.57'; var pdfjsVersion = '1.4.59';
var pdfjsBuild = '72c05af'; var pdfjsBuild = '6133a99';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?
@ -39109,13 +39109,13 @@ var TranslatedFont = (function TranslatedFontClosure() {
var translatedFont = this.font; var translatedFont = this.font;
var loadCharProcsPromise = Promise.resolve(); var loadCharProcsPromise = Promise.resolve();
var charProcs = this.dict.get('CharProcs').getAll(); var charProcs = this.dict.get('CharProcs');
var fontResources = this.dict.get('Resources') || resources; var fontResources = this.dict.get('Resources') || resources;
var charProcKeys = Object.keys(charProcs); var charProcKeys = charProcs.getKeys();
var charProcOperatorList = Object.create(null); var charProcOperatorList = Object.create(null);
for (var i = 0, n = charProcKeys.length; i < n; ++i) { for (var i = 0, n = charProcKeys.length; i < n; ++i) {
loadCharProcsPromise = loadCharProcsPromise.then(function (key) { loadCharProcsPromise = loadCharProcsPromise.then(function (key) {
var glyphStream = charProcs[key]; var glyphStream = charProcs.get(key);
var operatorList = new OperatorList(); var operatorList = new OperatorList();
return evaluator.getOperatorList(glyphStream, task, fontResources, return evaluator.getOperatorList(glyphStream, task, fontResources,
operatorList).then(function () { operatorList).then(function () {

2
package.json

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