1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Merge pull request #5713 from Snuffleupagus/evaluator-IdentityToUnicodeMap

Create a IdentityToUnicodeMap in evaluator.js when toUnicode contains IdentityH/IdentityV
This commit is contained in:
Brendan Dahl 2015-03-25 10:33:29 -07:00
commit 3a8d4a7d72
2 changed files with 10 additions and 7 deletions

View file

@ -2227,7 +2227,7 @@ var IdentityToUnicodeMap = (function IdentityToUnicodeMapClosure() {
IdentityToUnicodeMap.prototype = {
get length() {
error('should not access .length');
return (this.lastChar + 1) - this.firstChar;
},
forEach: function (callback) {