diff --git a/bower.json b/bower.json index b0d21b70c..1351ae96e 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.4.57", + "version": "1.4.59", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index edcd8f5ab..90d64e04b 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {})); // Use strict in our context only - users might not want it 'use strict'; -var pdfjsVersion = '1.4.57'; -var pdfjsBuild = '72c05af'; +var pdfjsVersion = '1.4.59'; +var pdfjsBuild = '6133a99'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -46960,13 +46960,13 @@ var TranslatedFont = (function TranslatedFontClosure() { var translatedFont = this.font; 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 charProcKeys = Object.keys(charProcs); + var charProcKeys = charProcs.getKeys(); var charProcOperatorList = Object.create(null); for (var i = 0, n = charProcKeys.length; i < n; ++i) { loadCharProcsPromise = loadCharProcsPromise.then(function (key) { - var glyphStream = charProcs[key]; + var glyphStream = charProcs.get(key); var operatorList = new OperatorList(); return evaluator.getOperatorList(glyphStream, task, fontResources, operatorList).then(function () { diff --git a/build/pdf.js b/build/pdf.js index 64d991081..8535934d4 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {})); // Use strict in our context only - users might not want it 'use strict'; -var pdfjsVersion = '1.4.57'; -var pdfjsBuild = '72c05af'; +var pdfjsVersion = '1.4.59'; +var pdfjsBuild = '6133a99'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 004ce1412..1fd169d98 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {})); // Use strict in our context only - users might not want it 'use strict'; -var pdfjsVersion = '1.4.57'; -var pdfjsBuild = '72c05af'; +var pdfjsVersion = '1.4.59'; +var pdfjsBuild = '6133a99'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -39109,13 +39109,13 @@ var TranslatedFont = (function TranslatedFontClosure() { var translatedFont = this.font; 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 charProcKeys = Object.keys(charProcs); + var charProcKeys = charProcs.getKeys(); var charProcOperatorList = Object.create(null); for (var i = 0, n = charProcKeys.length; i < n; ++i) { loadCharProcsPromise = loadCharProcsPromise.then(function (key) { - var glyphStream = charProcs[key]; + var glyphStream = charProcs.get(key); var operatorList = new OperatorList(); return evaluator.getOperatorList(glyphStream, task, fontResources, operatorList).then(function () { diff --git a/package.json b/package.json index 5a9f1e1c8..5d2412137 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.4.57", + "version": "1.4.59", "main": "build/pdf.js", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [