Forgot to push function calls changes to get the unicode char from a random code
This commit is contained in:
parent
6a6753fd5e
commit
6364e7fad5
5
pdf.js
5
pdf.js
@ -799,7 +799,7 @@ var Lexer = (function() {
|
||||
}
|
||||
}
|
||||
|
||||
x = Fonts.getUnicodeFor(x);
|
||||
x = Fonts.unicodeFromCode(x);
|
||||
str += String.fromCharCode(x);
|
||||
break;
|
||||
case '\r':
|
||||
@ -815,7 +815,8 @@ var Lexer = (function() {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
str += ch;
|
||||
var unicode = Fonts.unicodeFromCode(ch.charCodeAt(0));
|
||||
str += String.fromCharCode(unicode);
|
||||
break;
|
||||
}
|
||||
} while (!done);
|
||||
|
Loading…
x
Reference in New Issue
Block a user