diff --git a/bower.json b/bower.json index 5e90d6738..2af99c282 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.835", + "version": "1.0.837", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index bcdddde5f..77b283073 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.835'; -PDFJS.build = '8539cd6'; +PDFJS.version = '1.0.837'; +PDFJS.build = '744c8e8'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -22489,6 +22489,13 @@ var Font = (function FontClosure() { } this.toFontChar[charCode] = fontChar; } + for (charCode in properties.differences) { + fontChar = GlyphsUnicode[properties.differences[charCode]]; + if (!fontChar) { + continue; + } + this.toFontChar[charCode] = fontChar; + } } else if (/Dingbats/i.test(fontName)) { var dingbats = Encodings.ZapfDingbatsEncoding; for (charCode in dingbats) { diff --git a/build/pdf.js b/build/pdf.js index a9bdc76e9..607cb3bf0 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.835'; -PDFJS.build = '8539cd6'; +PDFJS.version = '1.0.837'; +PDFJS.build = '744c8e8'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/build/pdf.worker.js b/build/pdf.worker.js index add306541..78b33f0b7 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.835'; -PDFJS.build = '8539cd6'; +PDFJS.version = '1.0.837'; +PDFJS.build = '744c8e8'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -16428,6 +16428,13 @@ var Font = (function FontClosure() { } this.toFontChar[charCode] = fontChar; } + for (charCode in properties.differences) { + fontChar = GlyphsUnicode[properties.differences[charCode]]; + if (!fontChar) { + continue; + } + this.toFontChar[charCode] = fontChar; + } } else if (/Dingbats/i.test(fontName)) { var dingbats = Encodings.ZapfDingbatsEncoding; for (charCode in dingbats) { diff --git a/package.json b/package.json index c1a42efa3..83fa5c78d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.835", + "version": "1.0.837", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",