Forgot to push function calls changes to get the unicode char from a random code
This commit is contained in:
parent
e21d7b3000
commit
3625ac93a3
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);
|
str += String.fromCharCode(x);
|
||||||
break;
|
break;
|
||||||
case '\r':
|
case '\r':
|
||||||
@ -815,7 +815,8 @@ var Lexer = (function() {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
str += ch;
|
var unicode = Fonts.unicodeFromCode(ch.charCodeAt(0));
|
||||||
|
str += String.fromCharCode(unicode);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} while (!done);
|
} while (!done);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user