|
|
|
@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
|
|
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.1.18'; |
|
|
|
|
PDFJS.build = '64d49e1'; |
|
|
|
|
PDFJS.version = '1.1.20'; |
|
|
|
|
PDFJS.build = '3a8d4a7'; |
|
|
|
|
|
|
|
|
|
(function pdfjsWrapper() { |
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
@ -18201,8 +18201,11 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
@@ -18201,8 +18201,11 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|
|
|
|
var cmap, cmapObj = toUnicode; |
|
|
|
|
if (isName(cmapObj)) { |
|
|
|
|
cmap = CMapFactory.create(cmapObj, |
|
|
|
|
{ url: PDFJS.cMapUrl, packed: PDFJS.cMapPacked }, null).getMap(); |
|
|
|
|
return new ToUnicodeMap(cmap); |
|
|
|
|
{ url: PDFJS.cMapUrl, packed: PDFJS.cMapPacked }, null); |
|
|
|
|
if (cmap instanceof IdentityCMap) { |
|
|
|
|
return new IdentityToUnicodeMap(0, 0xFFFF); |
|
|
|
|
} |
|
|
|
|
return new ToUnicodeMap(cmap.getMap()); |
|
|
|
|
} else if (isStream(cmapObj)) { |
|
|
|
|
cmap = CMapFactory.create(cmapObj, |
|
|
|
|
{ url: PDFJS.cMapUrl, packed: PDFJS.cMapPacked }, null).getMap(); |
|
|
|
@ -22657,7 +22660,7 @@ var IdentityToUnicodeMap = (function IdentityToUnicodeMapClosure() {
@@ -22657,7 +22660,7 @@ var IdentityToUnicodeMap = (function IdentityToUnicodeMapClosure() {
|
|
|
|
|
|
|
|
|
|
IdentityToUnicodeMap.prototype = { |
|
|
|
|
get length() { |
|
|
|
|
error('should not access .length'); |
|
|
|
|
return (this.lastChar + 1) - this.firstChar; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
forEach: function (callback) { |
|
|
|
|