diff --git a/bower.json b/bower.json index 2809bf8fc..c578421e5 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.4.113", + "version": "1.4.115", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 1de7aa89c..6eb4c3acf 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.113'; -var pdfjsBuild = 'a6acf74'; +var pdfjsVersion = '1.4.115'; +var pdfjsBuild = '8402c79'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -36028,7 +36028,7 @@ var Font = (function FontClosure() { assert(cid <= 0xffff, 'Max size of CID is 65,535'); var glyphId = -1; if (isCidToGidMapEmpty) { - glyphId = charCode; + glyphId = cid; } else if (cidToGidMap[cid] !== undefined) { glyphId = cidToGidMap[cid]; } diff --git a/build/pdf.js b/build/pdf.js index d3f22467e..d77e3dc80 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.113'; -var pdfjsBuild = 'a6acf74'; +var pdfjsVersion = '1.4.115'; +var pdfjsBuild = '8402c79'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? diff --git a/build/pdf.worker.js b/build/pdf.worker.js index e7b6fbd90..f355f2236 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.113'; -var pdfjsBuild = 'a6acf74'; +var pdfjsVersion = '1.4.115'; +var pdfjsBuild = '8402c79'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -28048,7 +28048,7 @@ var Font = (function FontClosure() { assert(cid <= 0xffff, 'Max size of CID is 65,535'); var glyphId = -1; if (isCidToGidMapEmpty) { - glyphId = charCode; + glyphId = cid; } else if (cidToGidMap[cid] !== undefined) { glyphId = cidToGidMap[cid]; } diff --git a/package.json b/package.json index 749e2055f..b7070bae3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.4.113", + "version": "1.4.115", "main": "build/pdf.js", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [